Index of /ports/www/zope28/work/Zope-2.8.9.1-final/lib/python/persistent
Name Last modified Size Description
Parent Directory 29-Mar-2007 12:59 -
tests/ 29-Mar-2007 12:54 -
DEPENDENCIES.cfg 29-Mar-2007 12:54 1k
SETUP.cfg 29-Mar-2007 12:54 1k
__init__.py 29-Mar-2007 12:54 1k
ring.c 29-Mar-2007 12:54 2k
ring.h 29-Mar-2007 12:54 3k
dict.py 29-Mar-2007 12:54 3k
list.py 29-Mar-2007 12:54 3k
cPersistence.h 29-Mar-2007 12:54 4k
mapping.py 29-Mar-2007 12:54 4k
wref.py 29-Mar-2007 12:54 8k
interfaces.py 29-Mar-2007 12:54 10k
TimeStamp.c 29-Mar-2007 12:54 10k
cPersistence.c 29-Mar-2007 12:54 30k
cPickleCache.c 29-Mar-2007 12:54 32k
===================
Persistence support
===================
(This document is under construction. More basic documentation will
eventually appear here.)
Overriding __getattr__, __getattribute__, __setattr__, and __delattr__
-----------------------------------------------------------------------
Subclasses can override the attribute-management methods. For the
__getattr__ method, the behavior is like that for regular Python
classes and for earlier versions of ZODB 3.
For __getattribute__, __setattr__, and __delattr__, it is necessary to
call certain methods defined by persistent.Persistent. Detailed
examples and documentation is provided in the test module,
persistent.tests.test_overriding_attrs.