From aada0e5b08137fa9cb40910b12240a7fbdde3acb Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sat, 4 Feb 2023 16:24:18 -0500 Subject: dev-python/zope-cachedescriptors: new package, add 4.4 Signed-off-by: Julien Roy --- dev-python/zope-cachedescriptors/metadata.xml | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/zope-cachedescriptors/metadata.xml (limited to 'dev-python/zope-cachedescriptors/metadata.xml') diff --git a/dev-python/zope-cachedescriptors/metadata.xml b/dev-python/zope-cachedescriptors/metadata.xml new file mode 100644 index 0000000..6f1a2df --- /dev/null +++ b/dev-python/zope-cachedescriptors/metadata.xml @@ -0,0 +1,41 @@ + + + + + Julien Roy + julien@jroy.ca + + + 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 src/zope/cachedescriptors/property.rst. + + 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 + + Only a cache based on arguments has been implemented so far. + + See src/zope/cachedescriptors/method.rst. + + + + Zope Foundation and Contributors + zope-dev@zope.org + + https://github.com/zopefoundation/zope.cachedescriptors/blob/master/CHANGES.rst + https://github.com/zopefoundation/zope.cachedescriptors/issues + zopefoundation/zope.cachedescriptors + zope.cachedescriptors + + -- cgit v1.2.3