]> granicus.if.org Git - python/commit
Issue #12459: time.sleep() now raises a ValueError if the sleep length is
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 5 Jul 2011 20:00:25 +0000 (22:00 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 5 Jul 2011 20:00:25 +0000 (22:00 +0200)
commit7f53a5027d9e290dc288ed2d931ea4c383c416af
treee5ff2744cfd2f6f6521eae76b246e4d5cc560f70
parent5351a1f956d4d03bea00b650a0333b8eebd2b799
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.
Lib/test/test_time.py
Misc/NEWS
Modules/timemodule.c