Index of /www001/src/ports/www/zope29/work/Zope-2.9.7-final/lib/python/persistent
Name Last modified Size Description
Parent Directory 25-Mar-2007 02:48 -
tests/ 25-Mar-2007 02:47 -
DEPENDENCIES.cfg 25-Mar-2007 02:47 1k
SETUP.cfg 25-Mar-2007 02:47 1k
__init__.py 25-Mar-2007 02:47 1k
ring.c 25-Mar-2007 02:47 2k
ring.h 25-Mar-2007 02:47 3k
dict.py 25-Mar-2007 02:47 3k
list.py 25-Mar-2007 02:47 3k
cPersistence.h 25-Mar-2007 02:47 4k
mapping.py 25-Mar-2007 02:47 4k
wref.py 25-Mar-2007 02:47 8k
TimeStamp.c 25-Mar-2007 02:47 10k
interfaces.py 25-Mar-2007 02:47 10k
cPersistence.c 25-Mar-2007 02:47 30k
cPickleCache.c 25-Mar-2007 02:47 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`.