E&S CVS Commit: PEAK-Rules - Simplified class indexing strategy so
that ABCs and other 2.6+ classes
pje at eby-sarna.com
pje at eby-sarna.com
Tue Aug 17 23:10:23 EDT 2010
Author: pje
Date: Tue Aug 17 23:10:22 2010
New Revision: 2678
URL: http://svn.eby-sarna.com?rev=2678&view=rev
Log:
Simplified class indexing strategy so that ABCs and other 2.6+ classes
using __subclasscheck__/__subclasshook__ should work correctly without
any special treatment. (The tradeoff is worse worst-case performance
when not-yet-indexed classes are added to rules or seen during
dispatching.)
Modified:
PEAK-Rules/Indexing.txt
PEAK-Rules/peak/rules/criteria.py
PEAK-Rules/peak/rules/indexing.py
PEAK-Rules/test_rules.py
More information about the source-changes
mailing list