[Python-Dev] decorator module patch (original) (raw)

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


Hi,

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

http://python.org/sf/1448297

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!

Cheers, Georg



More information about the Python-Dev mailing list