timeit's environment

rurpy at yahoo.com rurpy at yahoo.com
Mon Dec 5 18:06:46 EST 2005


Scott David Daniels wrote:
> rurpy at yahoo.com wrote:
>
> > Since I've been bitching about documentation in another
> > thread, I'm curious...  Would it be obvious to anyone of
> > low to intermediate python skills that using global would
> > not work in this case?  Would it be obvious that using an
> > import is the answer?  Or can I blame this partially on the
> > documentation? :-)  I think the scoping issue could have
> > at least been mentioned in the Timer class or timeit method
> > descriptions.  There is no mention there of exactly what
> > environment the code is run in.
>
> Perhaps you could write a paragraph or two that would have
> informed you and send it to the destination mentioned on the
> documentation page.

Yes, but I was hoping to get some sense of how such
a submission might be viewed prior to going through
the work of doing it.




More information about the Python-list mailing list