E&S CVS Commit: DecoratorTools - Signature-matching support, ala RuleDispatch's dispatch.functions code

pje at eby-sarna.com pje at eby-sarna.com
Sat Feb 24 15:02:51 EST 2007


Author: pje
Date: Sat Feb 24 15:02:50 2007
New Revision: 2281

URL: http://svn.eby-sarna.com?rev=2281&view=rev
Log:
Signature-matching support, ala RuleDispatch's dispatch.functions code:

Added ``rewrap()`` function and ``template_function`` decorator to support
signature matching for decorated functions.  These features are similar to
the ones provided by Michele Simionato's "decorator" package, but do not
require Python 2.4 and don't change the standard idioms for creating
decorator functions.

Modified:
    DecoratorTools/README.txt
    DecoratorTools/peak/util/decorators.py
    DecoratorTools/setup.py




More information about the source-changes mailing list