[Python-Dev] decorator module patch

Georg Brandl g.brandl at gmx.net
Sun Mar 12 14:38:19 CET 2006


to underlay my proposals with facts, I've written a simple decorator
module containing at the moment only the "decorator" decorator.


It is implemented as a C extension module _decorator which contains the
decorator object (modelled after the functional.partial object) and a
Lib/decorator.py to allow further decorators added as Python code.

Comes with docs and unit test.

Please review!


More information about the Python-Dev mailing list