def _getRealPersistentClass(self):
     from persistent._compat import _c_optimizations_available as get_c
     return get_c()['persistent.persistence'].Persistent
Пример #2
0
 def _makeC(self, *args, **kwargs):
     from persistent._compat import _c_optimizations_available as get_c
     return get_c()['persistent.timestamp'].TimeStamp(*args, **kwargs)
 def _getTargetClass(self):
     from persistent._compat import _c_optimizations_available as get_c
     return get_c()['persistent.picklecache'].PickleCache