summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-13 19:32:21 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-13 19:32:21 (GMT)
commitd9bef35e3c0c4c1dfa5760fd76c720afa1956170 (patch)
tree9310de1abf31a7ad9bc914379765af806a0978a4 /Misc
parent4168c0466f873b60dd82ea83782e39a41a3aa45f (diff)
downloadcpython-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/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 898af48..7b6002c 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -156,6 +156,7 @@ Ben Darnell
Jonathan Dasteel
John DeGood
Vincent Delft
+Erik Demaine
Roger Dev
Toby Dickenson
Yves Dionne
diff --git a/Misc/NEWS b/Misc/NEWS
index d03c4b5..ee4b538 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.