Index of /ports/www/zope210/work/Zope-2.10.5-final/lib/python/zope/cachedescriptors
Name Last modified Size Description
Parent Directory 29-Oct-2007 06:39 -
__init__.py 29-Oct-2007 06:12 1k
DEPENDENCIES.cfg 29-Oct-2007 06:12 1k
tests.py 29-Oct-2007 06:12 1k
property.py 29-Oct-2007 06:12 2k
property.txt 29-Oct-2007 06:12 4k
Cached descriptors
Cached descriptors cache their output. They take into account
instance attributes that they depend on, so when the instance
attributes change, the descriptors will change the values they
return.
Cached descriptors cache their data in _v_ attributes, so they are
also useful for managing the computation of volatile attributes for
persistent objects.
Persistent descriptors:
property
A simple computed property. See property.txt.
method
Idempotent method. The return values are cached based on method
arguments and on any instance attributes that the methods are
defined to depend on.
**Note**, methods haven't been implemented yet.