Index of /ports/www/zope210/work/Zope-2.10.5-final/lib/python/persistent
Name Last modified Size Description
Parent Directory 29-Oct-2007 06:39 -
tests/ 29-Oct-2007 06:39 -
wref.py 29-Oct-2007 06:14 8k
ring.h 29-Oct-2007 06:14 3k
ring.c 29-Oct-2007 06:14 2k
mapping.py 29-Oct-2007 06:14 4k
list.py 29-Oct-2007 06:14 3k
interfaces.py 29-Oct-2007 06:14 10k
dict.py 29-Oct-2007 06:14 3k
cPickleCache.c 29-Oct-2007 06:14 32k
cPersistence.h 29-Oct-2007 06:14 4k
cPersistence.c 29-Oct-2007 06:14 30k
__init__.py 29-Oct-2007 06:14 1k
TimeStamp.c 29-Oct-2007 06:14 10k
SETUP.cfg 29-Oct-2007 06:14 1k
DEPENDENCIES.cfg 29-Oct-2007 06:14 1k
===================
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`.