E&S CVS Commit: pylib - Added some extra utilities to the Code hacking module, to generate indices

pje at eby-sarna.com pje at eby-sarna.com
Wed Feb 13 09:08:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Wed Feb 13 14:07:56 UTC 2002

Modified Files:
	pylib/TW/Utils: Code.py

Log Message:
Added some extra utilities to the Code hacking module, to generate indices
that allow random-access and relative movement within code, as well as
determining line numbers, etc.  Also made all python opcodes available as
globals, so 'from TW.Utils.Code import LOAD_NAME, IMPORT_STAR' (or whatever
other names you want) will now work.


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

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 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