E&S CVS Commit: pylib - Improvements to docs; revised construction API. build() now looks like:

pje at eby-sarna.com pje at eby-sarna.com
Thu Jun 7 12:32:00 EDT 2001


Module Name:	pylib
Committed By:	pje
Date:		Thu Jun  7 16:31:46 UTC 2001

Modified Files:
	pylib/TW: Components.py
	pylib/TW/tests: Components.py

Log Message:
Improvements to docs; revised construction API.  build() now looks like:

build(specs,export=1)

when you want an object to be placed back in the module.  name= defaults
to the first specification-provided name again.  module= still defaults to
the module 'build()' was called from, but only if the export flag passed in
is true.  ComponentBuilder properly retrieves the export and module fields
from its parent builder, if any.  (Note that this implies ComponentBuilder
relies on an as-yet undocumented interface for component building; IBuilder
only represents the behavior of builders used as children, not parents.)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/Components.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/pylib/TW/tests/Components.py.diff?r1=1.1&r2=1.2

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pylib/TW/Components.py
cvs rdiff -r1.1 -r1.2 pylib/TW/tests/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