[Python-Dev] decorator module in stdlib?
tjreedy at udel.edu
Tue Apr 7 23:04:43 CEST 2009
Daniel Fetchinson wrote:
> The decorator module  written by Michele Simionato is a very useful
> tool for maintaining function signatures while applying a decorator.
> Many different projects implement their own versions of the same
> functionality, for example turbogears has its own utility for this, I
> guess others do something similar too.
> Was the issue whether to include this module in the stdlib raised? If
> yes, what were the arguments against it? If not, what do you folks
> think, shouldn't it be included? I certainly think it should be.
> Originally I sent this message to c.l.p  and Michele suggested it
> be brought up on python-dev. He also pointed out that a PEP  is
> already written about this topic and it is in draft form.
> What do you guys think, wouldn't this be a useful addition to functools?
>  http://pypi.python.org/pypi/decorator
>  http://groups.google.com/group/comp.lang.python/browse_thread/thread/d4056023f1150fe0
>  http://www.python.org/dev/peps/pep-0362/
This probably should have gone to the python-ideas list. In any case, I
think it needs to start with a clear offer from Michele (directly or
relayed by you) to contribute it to the PSF with the usual conditions.
More information about the Python-Dev