Mark Dickinson added the comment:

Huh.  I assumed that timeit was doing this already.  +1 from me.

Affects Python 3.4 and 3.5, too.

taniyama:~ mdickinson$ time python -m timeit "import time; time.sleep(1.0)"
10 loops, best of 3: 1 sec per loop

real    0m40.165s
user    0m0.040s
sys     0m0.024s

----------
nosy: +mark.dickinson
versions: +Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24015>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to