[issue9285] A decorator for cProfile and profile modules
Tennessee Leeuwenburg
report at bugs.python.org
Wed Mar 30 11:33:07 CEST 2011
Tennessee Leeuwenburg <tleeuwenburg at gmail.com> added the comment:
I have been working on a similar idea. I just wanted to raise an issue I ran into which might affect this code also. The decorated function ended up with a different function signature to the original inner function. This can be important sometimes. I had to use the decorator.decorator module to give the outer function the same signature as the inner function.
----------
nosy: +tleeuwenburg at gmail.com
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9285>
_______________________________________
More information about the Python-bugs-list
mailing list