E&S CVS Commit: RuleDispatch - Fixes for Python 2.5 including
if/else (conditional expression) suppor
pje at eby-sarna.com
pje at eby-sarna.com
Thu Apr 12 22:57:24 EDT 2007
Author: pje
Date: Thu Apr 12 22:57:23 2007
New Revision: 2303
URL: http://svn.eby-sarna.com?rev=2303&view=rev
Log:
Fixes for Python 2.5 including if/else (conditional expression) support.
(Note, however, that conditional expressions cannot be "understood" for
implication processing or index optimization. PEAK-Rules, on the other
hand, will fully "understand" conditional expressions in this way The
change in RuleDispatch is mainly just to prevent errors occurring if
someone uses a conditional expression in a rule.)
Modified:
RuleDispatch/src/dispatch/_d_speedups.c
RuleDispatch/src/dispatch/_d_speedups.pyx
RuleDispatch/src/dispatch/ast_builder.py
RuleDispatch/src/dispatch/predicates.py
RuleDispatch/src/dispatch/tests/test_dispatch.py
RuleDispatch/src/dispatch/tests/test_parsing.py
More information about the source-changes
mailing list