[issue17414] timeit.timeit not in __all__ even though documented

Terry J. Reedy report at bugs.python.org
Fri Mar 15 02:39:19 CET 2013


Terry J. Reedy added the comment:

As long as we are editing the module docstring, the last sentence should be deleted in 3.x patches, and the preceding sentence added to the preceding paragraph.

In 3.3+, the paragraph beginning "The difference in default timer function" is obsolete and should be removed.

Anuj, I believe patch is correct for 2.7, so I do not think more patch versions are needed now.

I see the __all__ change as both behavior fix and enhancement, so I don't know whether there should be one fix or four. I posted "Matching __all__ to doc: bugfix or enhancement?" on pydev to see what other think.

(Reminder to self: remove old code to handle absence of itertools from stdlib. This will break the current patch.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17414>
_______________________________________


More information about the Python-bugs-list mailing list