Re: timeit module in IDLE

2013-03-14 Thread Chris Angelico
On Thu, Mar 14, 2013 at 6:21 PM, Terry Reedy wrote: > I believe everything in the doc should be in __all__. Open an issue on the > tracker and add terry.reedy as nosy. > Note on the issue that timeit.default_timer is not callable, contrary to the > doc (which should also be fixed). Thanks! Issue

Re: timeit module in IDLE

2013-03-14 Thread Terry Reedy
On 3/14/2013 2:58 AM, Chris Angelico wrote: While putting together some timing stats for the latest Python 3.3 string representation thread, I ran into an oddity in how IDLE handles timeit. The normal way to profile Python code, according to stuff I've found on the internet, is timeit.timeit: i

timeit module in IDLE

2013-03-14 Thread Chris Angelico
While putting together some timing stats for the latest Python 3.3 string representation thread, I ran into an oddity in how IDLE handles timeit. The normal way to profile Python code, according to stuff I've found on the internet, is timeit.timeit: >>> import timeit >>> timeit.timeit("s=s[:-1]+u'