[issue29235] Allow profile/cProfile to be used as context managers
Thane Brimhall
report at bugs.python.org
Sun Jan 15 22:53:46 EST 2017
Thane Brimhall added the comment:
I've signed the agreement. I will do the necessary research to figure out how to do unit tests and documentation updates.
I should also mention that while maintaining API-compatibility with `profile` was a stated goal, it turns out that the pure-python profiler actually does not have the enable() and disable() methods that the context manager needs.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29235>
_______________________________________
More information about the Python-bugs-list
mailing list