diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-04 18:35:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-04 18:35:47 (GMT) |
commit | b62c433d716c409d5a5ad0c34435bd969c6639af (patch) | |
tree | 02e7a16ced27fb3922ef8ebe5ddaea98d268c256 | |
parent | 4b96c1384e008218bdfeb9e271a094b1ab8484d3 (diff) | |
download | cpython-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.py | 21 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
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 @@ -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). |