[issue2527] Pass a namespace to timeit

Alexander Belopolsky report at bugs.python.org
Tue Apr 1 17:48:05 CEST 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

A more general approach would be to add both 'locals' and 'globals' to
be used by exec.  At least, I would change 'ns' to 'locals'.

----------
nosy: +belopolsky

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


More information about the Python-bugs-list mailing list