decorator module in stdlib?

Chris Rebert clp2 at
Tue Apr 7 02:50:05 CEST 2009

On Mon, Apr 6, 2009 at 5:41 PM, Daniel Fetchinson
<fetchinson at> wrote:
> The decorator module [1] 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.

Similar functionality is already provided by
functools.update_wrapper() and functools.wraps().
You might consider proposing the modification of these functions instead.


I have a blog:

More information about the Python-list mailing list