Alexander Belopolsky <belopol...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue9941> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com