E&S CVS Commit: PEAK - Added 'binding.classAttr()' - a wrapper that lets you use bindings as

pje at eby-sarna.com pje at eby-sarna.com
Tue Dec 10 18:44:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Tue Dec 10 23:43:16 UTC 2002

Modified Files:
	PEAK/src/peak/binding: once.py
	PEAK/src/peak/binding/tests: __init__.py
	PEAK/src/peak/model: persistent.py structural.py

Log Message:
Added 'binding.classAttr()' - a wrapper that lets you use bindings as
class attributes, *without* having to manually create a metaclass (one is
automatically generated for you behind the scenes).  Replaced many existing
uses of metaclasses in 'peak.model' with class attributes, although there
are some left that still need to be stomped out.  Added tests for class
attribute functionality.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/once.py.diff?r1=1.32&r2=1.33
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.23&r2=1.24
http://cvs.eby-sarna.com/PEAK/src/peak/model/persistent.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/model/structural.py.diff?r1=1.1&r2=1.2

To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 PEAK/src/peak/binding/once.py
cvs rdiff -r1.23 -r1.24 PEAK/src/peak/binding/tests/__init__.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/model/persistent.py \
    PEAK/src/peak/model/structural.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