[issue2527] Pass a namespace to timeit

Antoine Pitrou report at bugs.python.org
Tue Apr 1 20:50:36 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Generally, when I use timeit from the interpreter prompt, I use "from
__main__ import *" as the setup code string. Then I can use all
currently defined global symbols directly :)

----------
nosy: +pitrou

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2527>
__________________________________


More information about the Python-bugs-list mailing list