E&S CVS Commit: DecoratorTools - Changes since version 1.7:

pje at eby-sarna.com pje at eby-sarna.com
Wed May 5 13:56:18 EDT 2010


Author: pje
Date: Wed May  5 13:56:17 2010
New Revision: 2608

URL: http://svn.eby-sarna.com?rev=2608&view=rev
Log:
Changes since version 1.7:

  * The ``@template_function`` decorator now supports using a return value
    instead of a docstring, in order to work with the "-OO" option to Python;
    it's highly recommended that you update your template functions to use
    a return value instead of a docstring.  (The error message has also been
    improved for the missing docstring case.)

  * Fixed metaclass collisions in ``classy`` subclasses that mix in abstract
    classes (e.g. ``collections.Sequence``) in Python 2.6+.


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



More information about the source-changes mailing list