Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
Georg, this was your patch: http://bugs.python.org/issue1533909 I don't think it should have been accepted so readily. It is not harmonious with all of the other proposals for improving timeit. No that it is out in the wild, I think all you can do is fix-up the docs. Also, the inner template function should have a func=func argument so that the func() call is localized. This affects the timings. Part of the concept of the module is to make the surrounding timing apparatus be as light-weight as possible so that the timings reflect the thing being timed without being obscured by the overhead of the timing module itself. ---------- assignee: rhettinger -> georg.brandl nosy: +georg.brandl _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com