[issue5633] fix for timeit when the statement is a string and the setup is not (and tests)

Serhiy Storchaka report at bugs.python.org
Wed May 13 16:36:36 CEST 2015


Serhiy Storchaka added the comment:

Here is more complicated patch, that not only fixes handling of callable setup, but also simplifies the implementation of timeit constructor.

----------
Added file: http://bugs.python.org/file39360/timeit_callable_setup_refactor.patch

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


More information about the Python-bugs-list mailing list