E&S CVS Commit: pylib - Refactored to separate the notions of Once and OnceClass from the notion

pje at eby-sarna.com pje at eby-sarna.com
Tue Feb 26 16:39:00 EST 2002

Module Name:	pylib
Committed By:	pje
Date:		Tue Feb 26 21:38:57 UTC 2002

Modified Files:
	pylib/TW: Caching.py
	pylib/TW/API: Meta.py __init__.py
	pylib/TW/SEF: Basic.py
Added Files:
	pylib/TW/API: Misc.py

Log Message:
Refactored to separate the notions of Once and OnceClass from the notion
of a NamedDescriptor.  Now TW.API includes a Once() descriptor that wraps
a function for computing a cached attribute value, and a OnceClass
metaclass for creating classes that do the same.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pylib/TW/Caching.py
cvs rdiff -r1.2 -r1.3 pylib/TW/API/Meta.py
cvs rdiff -r0 -r1.1 pylib/TW/API/Misc.py
cvs rdiff -r1.7 -r1.8 pylib/TW/API/__init__.py
cvs rdiff -r1.3 -r1.4 pylib/TW/SEF/Basic.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list