decorator module in stdlib?
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>
> > 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:
> > 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:
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