E&S CVS Commit: RuleDispatch - Crude hacks to make tests pass on Python 2.5, at least when using

pje at eby-sarna.com pje at eby-sarna.com
Tue Oct 31 12:12:53 EST 2006


Author: pje
Date: Tue Oct 31 12:12:52 2006
New Revision: 2247

URL: http://svn.eby-sarna.com?rev=2247&view=rev
Log:
Crude hacks to make tests pass on Python 2.5, at least when using
--without-speedups (because Pyrex-generated code doesn't work right
for Python 2.5).  This code will probably also behave badly if you
use conditional expressions in a when() string.  But, if you avoid
conditional expressions and either leave out the speedups or compile
them with a Pyrex hacked for Python 2.5, you'll probably be okay for
now.

Modified:
    RuleDispatch/src/dispatch/ast_builder.py
    RuleDispatch/src/dispatch/combiners.txt
    RuleDispatch/src/dispatch/interfaces.py
    RuleDispatch/src/dispatch/strategy.py
    RuleDispatch/src/dispatch/tests/doctest.py
    RuleDispatch/src/dispatch/tests/test_dispatch.py




More information about the source-changes mailing list