[Zope-Checkins] CVS: Zope2 - cPersistence.c:1.38

Jim Fulton jim@digicool.com
Tue, 30 May 2000 13:27:44 -0400

Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/projects/users/jim/Zope2/lib/python/ZODB

Modified Files:
Log Message:
Fixed missfeature pointed out by PJE. We do not quite provide
transparent Pythonic sematics for __setattr__ and __delattr__.
If these methods are implemented, then they *must*::

  self._p_changed=1 # prefered


  self.__changed__(1) # if people get the heebe-jeebees from setting attrs

to manually register that an object's persistent state has changed, if,
in fact, it has.