[issue19495] context manager for measuring duration of blocks of code
Cheryl Sabella
report at bugs.python.org
Tue Jan 30 14:43:08 EST 2018
Cheryl Sabella <chekat2 at gmail.com> added the comment:
Hello everyone,
I was interested in similar functionality for timeit and found this discussion. I know it's too late for 3.7, but I was wondering if it would be worth putting this on python-ideas or python-dev to try to get some consensus for a PEP or a patch? With Barry's addition of breakpoint(), I would find something similar for timeit (that is, a simpler way to invoke it) would be quite helpful.
Thanks!
----------
nosy: +csabella
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue19495>
_______________________________________
More information about the Python-bugs-list
mailing list