decorator module in stdlib?

Michele Simionato michele.simionato at gmail.com
Tue Apr 7 08:12:58 CEST 2009


On Apr 7, 7:57 am, Daniel Fetchinson <fetchin... at googlemail.com>
wrote:
> > have always seen the decorator module
> > as a temporary hack waiting for a proper solution
> > at the language level. I wanted the possibility to modify the
> > signature of a function. Everybody more or less agreed
> > that this was a good idea on python-dev, and there is
> > also a PEP:
>
> >http://www.python.org/dev/peps/pep-0362/
>
> > However, AFAIK, the PEP is still in draft status.
> > Perhaps people wanting this should make some noise
> > on python-dev.
>
> I've posted it to python-dev:
>
> http://mail.python.org/pipermail/python-dev/2009-April/088387.html

If the PEP is implemented and it becomes possible
to fiddle with the function signature directly,
then the decorator module would become trivial
to implement and actually nearly useless.
I would happy with that, less code to maintain ;)



More information about the Python-list mailing list