E&S CVS Commit: PEAK - Added a 'binding.hasParent(component,parent)' API function, which is

pje at eby-sarna.com pje at eby-sarna.com
Sat Feb 5 19:58:00 EST 2005


Module Name:	PEAK
Committed By:	pje
Date:		Sun Feb  6 00:57:44 UTC 2005

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/binding: components.py
	PEAK/src/peak/binding/tests: __init__.py
Added Files:
	PEAK/src/peak/binding: components.txt

Log Message:
Added a 'binding.hasParent(component,parent)' API function, which is
specially optimized for use with generic functions, so that you can
define generic function methods that apply only within some part of a
component hierarchy.

Also, added a 'components.txt' doctest to the binding package, that
illustrates not only the new 'hasParent()' function, but also some other
hierarchy-related APIs as well.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.170&r2=1.171
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.py.diff?r1=1.143&r2=1.144
http://cvs.eby-sarna.com/PEAK/src/peak/binding/components.txt?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/binding/tests/__init__.py.diff?r1=1.40&r2=1.41

To generate a diff of this commit:
cvs rdiff -r1.170 -r1.171 PEAK/CHANGES.txt
cvs rdiff -r1.143 -r1.144 PEAK/src/peak/binding/components.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/binding/components.txt
cvs rdiff -r1.40 -r1.41 PEAK/src/peak/binding/tests/__init__.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