[issue9285] A decorator for cProfile and profile modules

2011-03-30 Thread Tennessee Leeuwenburg
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

[issue9285] A decorator for cProfile and profile modules

2010-12-21 Thread Lukas Lueg
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

[issue9285] A decorator for cProfile and profile modules

2010-12-14 Thread R. David Murray
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

[issue9285] A decorator for cProfile and profile modules

2010-07-17 Thread Giampaolo Rodola'
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): ...

[issue9285] A decorator for cProfile and profile modules

2010-07-17 Thread geremy condra
Changes by geremy condra debat...@gmail.com: -- nosy: +debatem1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9285 ___ ___ Python-bugs-list