[issue29235] Allow profile/cProfile to be used as context managers

Thane Brimhall report at bugs.python.org
Sun Jan 15 22:35:34 EST 2017


Thane Brimhall added the comment:

So this is my first time contributing to Python, but here's a (trivial) patch for this issue. Let me know what else is required to make this happen. I suspect unit tests and documentation updates?

----------
keywords: +patch
Added file: http://bugs.python.org/file46295/profileContextManager.patch

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


More information about the Python-bugs-list mailing list