| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
a function or a loop (e.g. "return" or "break").
|
| |
|
|
|
|
|
|
| |
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line
#1690103: fix initial namespace for code run with trace.main().
........
r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line
#4810: document "--" option separator in timeit help.
........
r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line
#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
........
r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line
#4943: do not try to include drive letters (and colons) when looking for a probably module name.
........
r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line
#5551: symbolic links never can be mount points. Fixes the fix for #1713.
........
|
| |
|
| |
|
|
|
|
| |
You might want to review this change as it's my first time. Be gentle. :-)
|
|
|
|
|
| |
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.
|
|
|
|
| |
Make timings more consistent by temporarily disabling GC.
|
|
|
|
| |
rather than showing weird numbers like 8.4e+03 usec.
|
| |
|
| |
|
|
|
|
|
| |
Paul Moore's patch to have timeit.py check the current directory for
imports (instead of the directory for Lib/timeit.py).
|
| |
|
| |
|
|
|
|
| |
an iterator (which can only be used once!).
|
|
|
|
|
|
|
|
|
| |
(from 10) and in main() (from 1).
Add a -v option that shows the raw times. Repeating it cranks up the
display precision.
Always use the "best of N" form of output.
|
|
|
|
|
|
|
|
|
|
| |
- Make all local variables in the template start with an underscore,
to prevent name conflicts with the timed code.
- Added a method to print a traceback that shows source lines from the
expanded template.
- Use that method in main().
|
|
|
|
|
|
|
| |
would have required refraining from using string methods -- too
painful.)
Changed the -s option so that multiple -s options are cumulative.
|
|
|
|
|
| |
standard deviation. Also add an XXX comment wondering if we should
refrain from using itertools.repeat().
|
| |
|
|
|
|
| |
versions. Add -h/--help option to print doc string.
|
| |
|
|
Usable from the command line or from a program.
|