E&S CVS Commit: PEAK-Rules - Preliminary istype() support for predicate dispatch.

pje at eby-sarna.com pje at eby-sarna.com
Wed Jun 11 12:51:12 EDT 2008


Author: pje
Date: Wed Jun 11 12:51:06 2008
New Revision: 2547

URL: http://svn.eby-sarna.com?rev=2547&view=rev
Log:
Preliminary istype() support for predicate dispatch.
This is just the necessary compiler support for translating expressions
of the form ``type(x) is y`` and ``x in istype(y)``, some support for
istype() implication/intersection with Class criteria, and a bit of 
cleanup/refactoring of the indexing code.

NOT supported: mixing istype() and Classes...  or actually indexing 
istype() criteria.  The entire BitmapIndex system is going to have to be 
refactored in order to fully fix this.  :(  On the bright side, that 
will let me clean up a bunch of other index-related cruft, too.

Modified:
    PEAK-Rules/Criteria.txt
    PEAK-Rules/Predicates.txt
    PEAK-Rules/peak/rules/core.py
    PEAK-Rules/peak/rules/criteria.py
    PEAK-Rules/peak/rules/indexing.py
    PEAK-Rules/peak/rules/predicates.py




More information about the source-changes mailing list