Ejemplo n.º 1
0
 def __new__(klass, *args, **kwargs):
     instance = PersistentBase.__new__(klass, *args, **kwargs)
     instance._p_status = UNSAVED
     instance._p_touched = 1
     instance._p_connection = None
     instance._p_oid = None
     return instance
Ejemplo n.º 2
0
 def __delattr__(self, name):
     self._p_note_change()
     PersistentBase.__delattr__(self, name)