[issue5982] classmethod, staticmethod: expose wrapped function

George Sakkis report at bugs.python.org
Wed May 20 01:25:10 CEST 2009


George Sakkis <george.sakkis at gmail.com> added the comment:

I don't remember the exact use case but it had to do with making a
decorator robust enough to work for different kinds of callables (and a
few common non-callables such as classmethod/staticmethod). It's not a
show stopper by any means but I thought it would be easy (if not
trivial) to implement, and regardless of actual use cases I don't see a
reason to keep the function "hidden".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5982>
_______________________________________


More information about the Python-bugs-list mailing list