[Zope-Checkins] CVS: Zope3/lib/python/Persistence - Module.py:1.4
Jeremy Hylton
jeremy@zope.com
Mon, 24 Jun 2002 10:39:36 -0400
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv23450
Modified Files:
Module.py
Log Message:
Add some XXX comments about limitations of the current implementation
=== Zope3/lib/python/Persistence/Module.py 1.3 => 1.4 ===
return "<PersistentModule %s>" % self.__name__
+ # XXX need getattr &c. hooks to update _p_changed?
+ # XXX what about code that modifies __dict__ directly?
+ # XXX one example is a function that rebinds a global
+
def __getstate__(self):
d = self.__dict__.copy()
del d["__builtins__"]