[Python-Dev] my first post: asking about a "decorator" module

Raymond Hettinger raymond.hettinger at verizon.net
Fri May 6 15:59:20 CEST 2005


> > Yes, there has been quite a bit of interest including several ASPN
> > recipes and a wiki:
> >
> >    http://www.python.org/moin/PythonDecoratorLibrary
> 
> Thanks, I didn't know about that page. BTW, I notice that all the
> decorators
> in that page are improper, in the sense that they change the signature
of
> the function they decorate. 

Signature changing and signature preserving are probably better
classifications than proper and improper.  Even then, some decorators
like atexit() and classmethod() may warrant their own special
categories.


Raymond



More information about the Python-Dev mailing list