E&S CVS Commit: PyProtocols - Treat local vars as constants too, esp. since locals==globals is the common
pje at eby-sarna.com
pje at eby-sarna.com
Tue Jul 13 17:57:00 EDT 2004
Module Name: PyProtocols
Committed By: pje
Date: Tue Jul 13 21:55:56 UTC 2004
Modified Files:
PyProtocols/src/protocols: dispatch.py predicates.py
PyProtocols/src/protocols/tests: test_parsing.py
Log Message:
Treat local vars as constants too, esp. since locals==globals is the common
case for function predicates. Also, clean up the 'defmethod' bootstrap
code a bit, so that predicate strings are used throughout.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/src/protocols/dispatch.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PyProtocols/src/protocols/predicates.py.diff?r1=1.9&r2=1.10
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_parsing.py.diff?r1=1.9&r2=1.10
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 PyProtocols/src/protocols/dispatch.py
cvs rdiff -r1.9 -r1.10 PyProtocols/src/protocols/predicates.py
cvs rdiff -r1.9 -r1.10 PyProtocols/src/protocols/tests/test_parsing.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