[issue19495] Enhancement for timeit: measure time to run blocks of code using 'with'

Steven D'Aprano report at bugs.python.org
Fri Jun 13 02:44:41 CEST 2014


Steven D'Aprano added the comment:

I have been using something like this for many years now and it is very handy. I have an early version of the code posted here:

http://code.activestate.com/recipes/577896

Over the next week or so, I'll prepare a patch.

Because it's a new feature, it must be for 3.5 only. The other versions are in feature-freeze.

----------
assignee:  -> steven.daprano
nosy: +steven.daprano
versions: +Python 3.5 -Python 3.4

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


More information about the Python-bugs-list mailing list