Tennessee Leeuwenburg tleeuwenb...@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
Lukas Lueg lukas.l...@gmail.com added the comment:
+1
--
nosy: +ebfe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: collinwinter -
stage: - patch review
type: - feature request
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
New submission from Giampaolo Rodola' g.rod...@gmail.com:
A patch including tests is in attachment.
Example usage:
from cProfile import profile
@profile
... def factorial(n):
... n = abs(int(n))
... if n 1:
... n = 1
... x = 1
... for i in range(1, n+1):
...
Changes by geremy condra debat...@gmail.com:
--
nosy: +debatem1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Python-bugs-list