E&S CVS Commit: PyProtocols - Fix bugs reported by Jay Parlar and Radek Kanovsky. The tree-building

pje at eby-sarna.com pje at eby-sarna.com
Wed Apr 27 02:11:01 EDT 2005


Module Name:	PyProtocols
Committed By:	pje
Date:		Wed Apr 27 06:10:09 UTC 2005

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

Log Message:
Fix bugs reported by Jay Parlar and Radek Kanovsky.  The tree-building
algorithm was expecting to get a static number of seeds for purposes of
determining whether a particular dispatch expression made a difference on
a given tree branch.  But the new inequality index has a different number
of keys depending on what items you ask it to produce a case map for, so
this was causing problems.  Also, calling repr() on an Inequality didn't
work.


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.41&r2=1.42
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/strategy.py.diff?r1=1.40&r2=1.41
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_dispatch.py.diff?r1=1.49&r2=1.50

To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 PyProtocols/src/dispatch/functions.py
cvs rdiff -r1.40 -r1.41 PyProtocols/src/dispatch/strategy.py
cvs rdiff -r1.49 -r1.50 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