From b62c433d716c409d5a5ad0c34435bd969c6639af Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 4 Mar 2006 18:35:47 +0000 Subject: Remove test for timing (already not built since commented out in setup.py). Add note to NEWS. --- Lib/test/test_timing.py | 21 --------------------- Misc/NEWS | 3 +++ 2 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 Lib/test/test_timing.py 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). -- cgit v0.12