summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:35:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:35:47 (GMT)
commitb62c433d716c409d5a5ad0c34435bd969c6639af (patch)
tree02e7a16ced27fb3922ef8ebe5ddaea98d268c256
parent4b96c1384e008218bdfeb9e271a094b1ab8484d3 (diff)
downloadcpython-b62c433d716c409d5a5ad0c34435bd969c6639af.zip
cpython-b62c433d716c409d5a5ad0c34435bd969c6639af.tar.gz
cpython-b62c433d716c409d5a5ad0c34435bd969c6639af.tar.bz2
Remove test for timing (already not built since commented out in setup.py).
Add note to NEWS.
-rw-r--r--Lib/test/test_timing.py21
-rw-r--r--Misc/NEWS3
2 files changed, 3 insertions, 21 deletions
diff --git a/Lib/test/test_timing.py b/Lib/test/test_timing.py
deleted file mode 100644
index 5797833..0000000
--- a/Lib/test/test_timing.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from test.test_support import verbose
-import timing
-
-r = range(100000)
-if verbose:
- print 'starting...'
-timing.start()
-for i in r:
- pass
-timing.finish()
-if verbose:
- print 'finished'
-
-secs = timing.seconds()
-milli = timing.milli()
-micro = timing.micro()
-
-if verbose:
- print 'seconds:', secs
- print 'milli :', milli
- print 'micro :', micro
diff --git a/Misc/NEWS b/Misc/NEWS
index 41d5475..634f168 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -268,6 +268,9 @@ Core and builtins
Extension Modules
-----------------
+- The timing module is no longer built by default. It was deprecated
+ in PEP 4 in Python 2.0 or earlier.
+
- Patch 1433928: Added a new type, defaultdict, to the collections module.
This uses the new __missing__ hook behavior added to dict (see above).