On Apr 7, 7:57 am, Daniel Fetchinson fetchin...@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
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
On Mon, Apr 6, 2009 at 5:41 PM, Daniel Fetchinson
fetchin...@googlemail.com 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
On Apr 7, 2:50 am, Chris Rebert c...@rebertia.com wrote:
Similar functionality is already provided by
functools.update_wrapper() and functools.wraps().
Seehttp://docs.python.org/library/functools.html
You might consider proposing the modification of these functions instead.
Unfortunately
Similar functionality is already provided by
functools.update_wrapper() and functools.wraps().
Seehttp://docs.python.org/library/functools.html
You might consider proposing the modification of these functions instead.
Unfortunately functools.update_wrapper() and functools.wraps()
are NOT