diff options
author | Georg Brandl <georg@python.org> | 2007-03-13 19:32:21 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-03-13 19:32:21 (GMT) |
commit | d9bef35e3c0c4c1dfa5760fd76c720afa1956170 (patch) | |
tree | 9310de1abf31a7ad9bc914379765af806a0978a4 /Misc | |
parent | 4168c0466f873b60dd82ea83782e39a41a3aa45f (diff) | |
download | cpython-d9bef35e3c0c4c1dfa5760fd76c720afa1956170.zip cpython-d9bef35e3c0c4c1dfa5760fd76c720afa1956170.tar.gz cpython-d9bef35e3c0c4c1dfa5760fd76c720afa1956170.tar.bz2 |
Patch #1533909: the timeit module now accepts callables in addition to
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -156,6 +156,7 @@ Ben Darnell Jonathan Dasteel John DeGood Vincent Delft +Erik Demaine Roger Dev Toby Dickenson Yves Dionne @@ -168,6 +168,10 @@ Core and builtins Library ------- +- Patch #1533909: the timeit module now accepts callables in addition to + strings for the code to time and the setup code. Also added two + convenience functions for instantiating a Timer and calling its methods. + - Patch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameter which can be set to False to prevent the default delete-on-close behavior. |