summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-05 20:00:25 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-05 20:00:25 (GMT)
commit7f53a5027d9e290dc288ed2d931ea4c383c416af (patch)
treee5ff2744cfd2f6f6521eae76b246e4d5cc560f70 /Misc/NEWS
parent5351a1f956d4d03bea00b650a0333b8eebd2b799 (diff)
downloadcpython-7f53a5027d9e290dc288ed2d931ea4c383c416af.zip
cpython-7f53a5027d9e290dc288ed2d931ea4c383c416af.tar.gz
cpython-7f53a5027d9e290dc288ed2d931ea4c383c416af.tar.bz2
Issue #12459: time.sleep() now raises a ValueError if the sleep length is
negative, instead of an infinite sleep on Windows or raising an IOError on Linux for example, to have the same behaviour on all platforms.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4f41fb1..b96ca50 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -219,6 +219,10 @@ Core and Builtins
Library
-------
+- Issue #12459: time.sleep() now raises a ValueError if the sleep length is
+ negative, instead of an infinite sleep on Windows or raising an IOError on
+ Linux for example, to have the same behaviour on all platforms.
+
- Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support
Python scripts using a encoding different than UTF-8 (read the coding cookie
of the script).