E&S CVS Commit: pylib - Merged the Simulator module into API.Modules, since that's its only usage,

pje at eby-sarna.com pje at eby-sarna.com
Thu Feb 14 16:51:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Thu Feb 14 21:50:22 UTC 2002

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

Log Message:
Merged the Simulator module into API.Modules, since that's its only usage,
and it's too TW-specific to be of much use to anybody else.  Added back in
code to set '__module__' on created classes, but this time it's done to
the class after creation, instead of by putting it in the dictionary (which
could break old-style metaclasses like Interface, if they weren't expecting
it there.)  Also added code to detect when a module's '__bases__' list is
actually a module, since I find myself forgetting that trailing comma an
awful lot.


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.6&r2=1.7

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