[Python-checkins] This

Raymond Hettinger rhettinger at ewtllc.com
Fri May 26 00:49:43 CEST 2006


Steve Holden wrote:

>
> This reminds me I am tasked with trying to find out what the interface 
> to timeit.py is supposed to look like. Raymond, your name has been 
> mentioned as someone who took part int he discussions. Google hasn't 
> given me a lot to go on. Anyone?
>

IIRC, Guido's words were that too much to the smarts in timeit.py were 
in the command-line interface and not in the Timer object were in should 
be.

So, this should be a simple refactoring exercise to expose more of the 
existing API.  No inventiveness is required.

While you're at it, please document the import trick or testing existing 
code without copying it in to a text string.


Raymond



More information about the Python-checkins mailing list