[issue9941] Unify trace and profile interfaces
report at bugs.python.org
Fri Sep 24 19:01:19 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
The runfunc/runcall difference is the easiest to address. I propose to add runcall to Trace as an alias to runfunc and deprecate runfunc. In addition, I propose to add __enter__ and __exit__ methods to both Trace and Profile so that they can be used as context managers.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list