E&S CVS Commit: PyProtocols - Fix a subtle problem with CriterionIndex: it wasn't including empty entries

pje at eby-sarna.com pje at eby-sarna.com
Thu Feb 10 23:02:00 EST 2005


Module Name:	PyProtocols
Committed By:	pje
Date:		Fri Feb 11 04:01:44 UTC 2005

Modified Files:
	PyProtocols/src/dispatch: functions.py
	PyProtocols/src/protocols/tests: test_dispatch.py

Log Message:
Fix a subtle problem with CriterionIndex: it wasn't including empty entries
for all keys, if every method in the generic function "cared" about that
criterion.  Thanks to Radek Kanovsky for reporting the problem.


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.32&r2=1.33
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_dispatch.py.diff?r1=1.35&r2=1.36

To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 PyProtocols/src/dispatch/functions.py
cvs rdiff -r1.35 -r1.36 PyProtocols/src/protocols/tests/test_dispatch.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