E&S CVS Commit: pylib - Replaced the implementation of 'setupModule()' and 'adviseModule()' with a

pje at eby-sarna.com pje at eby-sarna.com
Wed Feb 13 19:28:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Thu Feb 14 00:27:08 UTC 2002

Modified Files:
	pylib/TW/API: Modules.py
Added Files:
	pylib/TW/Utils: Simulator.py

Log Message:
Replaced the implementation of 'setupModule()' and 'adviseModule()' with a
new one based on executing module code bodies under a "simulator" which
handles merges, overwrites, function chaining, etc.  The new implementation
is considerably smaller, faster in some circumstances, more flexible, and
*far* less subject to weird behavior caused by TransWarp build rules.  In
fact, the new implementation relies only on a few of the TW.Utils modules,
and completely ignores the rest of TransWarp, so it can actually be used to
develop TransWarp itself.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/API/Modules.py.diff?r1=1.4&r2=1.5
http://cvs.eby-sarna.com/pylib/TW/Utils/Simulator.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pylib/TW/API/Modules.py
cvs rdiff -r0 -r1.1 pylib/TW/Utils/Simulator.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