E&S CVS Commit: PEAK - Added support for Python modules to be binding components whose parent

pje at eby-sarna.com pje at eby-sarna.com
Mon Feb 17 09:20:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Mon Feb 17 14:19:28 UTC 2003

Modified Files:
	PEAK/src/peak/binding: components.py

Log Message:
Added support for Python modules to be binding components whose parent
component is their enclosing package, and whose component name is the
rightmost part of their '__name__'.  This means that class components
can now acquire up the package tree to reference sibling modules in (for
example) their 'referencedType' fields.  Of course, it will only works if
the sibling module has been imported, so it may not be of much interest
for packages with empty '__init__.py' files.  It should be helpful,
however, for supporting cross-module type references in generated code.


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.79&r2=1.80

To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 PEAK/src/peak/binding/components.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