E&S CVS Commit: PEAK-Rules - Implement 'value()' convenience API for defining methods that just

pje at eby-sarna.com pje at eby-sarna.com
Sun Aug 15 10:15:31 EDT 2010


Author: pje
Date: Sun Aug 15 10:15:29 2010
New Revision: 2663

URL: http://svn.eby-sarna.com?rev=2663&view=rev
Log:
Implement 'value()' convenience API for defining methods that just 
return a constant value.  Add memoizing to engine.apply_template, so 
that we don't create a crapload of function objects for identical 
method combinations.

Modified:
    PEAK-Rules/DESIGN.txt
    PEAK-Rules/Predicates.txt
    PEAK-Rules/README.txt
    PEAK-Rules/peak/rules/__init__.py
    PEAK-Rules/peak/rules/core.py



More information about the source-changes mailing list