[issue17130] Add runcall() function to profile.py and cProfile.py

Guido van Rossum report at bugs.python.org
Mon Feb 11 20:17:00 CET 2013


Guido van Rossum added the comment:

If I quickly want to profile one function, with the decorator I have to
insert a with-statement in its body and mess with the indentation of the
entire body. With a decorator it's just a one-line insertion.

----------

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


More information about the Python-bugs-list mailing list