E&S CVS Commit: pylib [Simplification-Branch] - Tightened up the pre/postconditions of methods in the build process, so

pje at eby-sarna.com pje at eby-sarna.com
Sun Jan 27 18:02:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Sun Jan 27 23:01:26 UTC 2002

Modified Files:
	pylib/TW/API [Simplification-Branch]: Advisors.py Interfaces.py
	    Interpreters.py Targets.py __init__.py

Log Message:
Tightened up the pre/postconditions of methods in the build process, so
that it's clearer what advisors and interpreters can and cannot do to
build targets at different points in time.  Added checks to make sure that
the rules can't be broken, and that reasonable error messages occur when
code tries to break them.  Also, did a little performance tuning, there's
now a lot fewer calls to most routines, especially since I inlined a couple
more common cases.  It should now be possible to enhance Bundles to allow
for auto-include of missing required bundles, "sideways inheritance" from
a bundle, etc.  The interface docs are still in progress, and Targets.py
still needs more cleaning, but at least some progress is being made.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/API/Advisors.py.diff?r1=1.1.2.2&r2=1.1.2.3
http://cvs.eby-sarna.com/pylib/TW/API/Interfaces.py.diff?r1=1.1.2.2&r2=1.1.2.3
http://cvs.eby-sarna.com/pylib/TW/API/Interpreters.py.diff?r1=1.1.2.2&r2=1.1.2.3
http://cvs.eby-sarna.com/pylib/TW/API/Targets.py.diff?r1=1.1.2.2&r2=1.1.2.3
http://cvs.eby-sarna.com/pylib/TW/API/__init__.py.diff?r1=1.1.2.2&r2=1.1.2.3

To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 pylib/TW/API/Advisors.py \
    pylib/TW/API/Interfaces.py pylib/TW/API/Interpreters.py \
    pylib/TW/API/Targets.py pylib/TW/API/__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