E&S CVS Commit: PyProtocols - Back out 'ITest.appliedTo()' method; it wasn't really needed for ITest, and
pje at eby-sarna.com
pje at eby-sarna.com
Sun Jan 2 00:32:00 EST 2005
Module Name: PyProtocols
Committed By: pje
Date: Sun Jan 2 05:31:03 UTC 2005
Modified Files:
PyProtocols/src/dispatch: functions.py interfaces.py predicates.py
strategy.py
Log Message:
Back out 'ITest.appliedTo()' method; it wasn't really needed for ITest, and
when we have template conditions/predicate functions, we don't want them to
have to implement ITest anyway. So, replaced it with a generic function.
Also, cleaned up Inequality.__invert__ so it inverts the operator instead
of using a NotTest, and deleted some now-dead code. Also adjusted so that
non-ITest, non-sequence constants used in an 'expr in test' predicate cause
a fallback to generic boolean testing, rather than an adaptation error.
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/functions.py.diff?r1=1.17&r2=1.18
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/interfaces.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/predicates.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/strategy.py.diff?r1=1.9&r2=1.10
To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 PyProtocols/src/dispatch/functions.py
cvs rdiff -r1.10 -r1.11 PyProtocols/src/dispatch/interfaces.py
cvs rdiff -r1.8 -r1.9 PyProtocols/src/dispatch/predicates.py
cvs rdiff -r1.9 -r1.10 PyProtocols/src/dispatch/strategy.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