E&S CVS Commit: PEAK-Rules - Temporary fix for issubclass() problem reported by Alberto

pje at eby-sarna.com pje at eby-sarna.com
Tue Jul 15 12:58:18 EDT 2008


Author: pje
Date: Tue Jul 15 12:58:17 2008
New Revision: 2567

URL: http://svn.eby-sarna.com?rev=2567&view=rev
Log:
Temporary fix for issubclass() problem reported by Alberto
Valverde, as described here:

http://www.eby-sarna.com/pipermail/peak/2008-July/003003.html

This is just a temporary fix; the always_testable() function
needs to be refactored with some other sort of ordering check.
Or it might be that only isinstance() and identity tests
should be considered re-orderable.  More thought is required
here.

Modified:
    PEAK-Rules/Predicates.txt
    PEAK-Rules/peak/rules/predicates.py
    PEAK-Rules/test_rules.py




More information about the source-changes mailing list