Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(46)

#23552: Have timeit warn about runs that are not independent of each other

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years, 9 months ago by raymond.hettinger
Modified:
2 years, 9 months ago
Reviewers:
robertc
CC:
arigo, rhettinger, rbcollins, alex, fijall, devnull_psf.upfronthosting.co.za, storchaka
Visibility:
Public.

Patch Set 1 #

Total comments: 1

Patch Set 2 #

Patch Set 3 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/timeit.py View 1 2 1 chunk +19 lines, -13 lines 1 comment Download

Messages

Total messages: 2
rbcollins
I think this is worth doing. It should be documented. Perhaps it also needs an ...
2 years, 9 months ago #1
rbcollins
2 years, 9 months ago #2
I think this still needs docs (e.g. that it happens, why, and that it is a
warning and -Wignore is the way to disable it).

http://bugs.python.org/review/23552/diff/14227/Lib/timeit.py
File Lib/timeit.py (right):

http://bugs.python.org/review/23552/diff/14227/Lib/timeit.py#newcode347
Lib/timeit.py:347: import warnings
We can probably safely import warnings globally here. Minor style nit is all :).
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7