E&S CVS Commit: pylib [Simplification-Branch] - Added 'TW.Utils.Code', a module which supports bytecode inspection and

pje at eby-sarna.com pje at eby-sarna.com
Sun Feb 10 08:30:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Sun Feb 10 13:29:17 UTC 2002

Modified Files:
	pylib/TW/API [Simplification-Branch]: Advisors.py
Added Files:
	pylib/TW/Utils [Simplification-Branch]: Code.py

Log Message:
Added 'TW.Utils.Code', a module which supports bytecode inspection and
hacking.  Revised 'Eval()' to use the new module to do its code inspection,
and added some simple bytecode hacking that makes any errors in the
expression show up at the line and module where 'Eval()' was originally
called, rather than in "<string> at line 0".


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.6&r2=1.1.2.7
http://cvs.eby-sarna.com/pylib/TW/Utils/Code.py?rev=1.1.2.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.1.2.6 -r1.1.2.7 pylib/TW/API/Advisors.py
cvs rdiff -r0 -r1.1.2.1 pylib/TW/Utils/Code.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