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

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 14d1018940cb by Serhiy Storchaka in branch '2.7': Issue #5633: Fixed timeit when the statement is a string and the setup is not. https://hg.python.org/cpython/rev/14d1018940cb New changeset 89de73c0d848 by Serhiy Storchaka in branch '3.4': Issue

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

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___

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

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka versions: +Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___

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

2015-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Definitely there is a bug. The code of timeit is written to support string stmt and callable setup. Expected that locals available when the function is created, would be available when the function is executed. But this doesn't work. May be it worked in the

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

2015-05-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file39358/timeit_callable_setup.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___

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

2015-05-13 Thread Serhiy Storchaka
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

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

2013-03-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___ ___ Python-bugs-list

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

2012-06-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- title: fix for timeit when the statment is a string and the setup is not (and tests) - fix for timeit when the statement is a string and the setup is not (and tests) ___ Python tracker