E&S CVS Commit: PEAK - Added ability for components to "suggest" themselves as a parent to their

pje at eby-sarna.com pje at eby-sarna.com
Sun Apr 27 16:17:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sun Apr 27 20:16:25 UTC 2003

Modified Files:
	PEAK/src/peak/binding: components.py interfaces.py
	PEAK/src/peak/binding/tests: __init__.py
	PEAK/src/peak/model: elements.py
	PEAK/src/peak/storage: connections.py

Log Message:
Added ability for components to "suggest" themselves as a parent to their
contents.  This should make it much harder to accidentally create a
"dangling root".  One drawback: it's now not a good idea to use constructor
keyword arguments to assign large iterables.  E.g. executing something
like: 'SomeClass(someAttr=range(100000))' will be very slow.  (But it will
issue a warning after the 100th non-component in the sequence.)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.87&r2=1.88
http://cvs.eby-sarna.com/PEAK/src/peak/binding/interfaces.py.diff?r1=1.7&r2=1.8
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.24&r2=1.25
http://cvs.eby-sarna.com/PEAK/src/peak/model/elements.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/storage/connections.py.diff?r1=1.14&r2=1.15

To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 PEAK/src/peak/binding/components.py
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/binding/interfaces.py
cvs rdiff -r1.24 -r1.25 PEAK/src/peak/binding/tests/__init__.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/model/elements.py
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/storage/connections.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