def _slotnames(self):
     slotnames = copy_reg._slotnames(type(self))
     return [
         x for x in slotnames
         if not x.startswith('_p_') and not x.startswith('_v_') and
         not x.startswith('_Persistent__') and x not in Persistent.__slots__
     ]
 def _slotnames(self, _v_exclude=True):
     slotnames = copy_reg._slotnames(type(self))
     return [x for x in slotnames
                if not x.startswith('_p_') and
                   not (x.startswith('_v_') and _v_exclude) and
                   not x.startswith('_Persistent__') and
                   x not in Persistent.__slots__]
Exemple #3
0
 def _slotnames(self, _v_exclude=True):
     slotnames = copy_reg._slotnames(type(self))
     return [
         x for x in slotnames if not x.startswith('_p_')
         and not (x.startswith('_v_') and _v_exclude)
         and not x.startswith('_Persistent__') and x not in _SLOTS
     ]
Exemple #4
0
 def _slotnames(self):
     slotnames = copy_reg._slotnames(type(self))
     return [
         x
         for x in slotnames
         if not x.startswith("_p_")
         and not x.startswith("_v_")
         and not x.startswith("_Persistent__")
         and x not in Persistent.__slots__
     ]