]> granicus.if.org Git - python/commit
Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Mar 2015 20:54:09 +0000 (21:54 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 19 Mar 2015 20:54:09 +0000 (21:54 +0100)
commit79d68f929d8def878766965f513b628023f809b5
tree943c927ae839eb2b115f88d997cd29094ddd23ab
parent0ed56a0b421e02da3ed3626a5b9e0ad076f68ce0
Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now
retried with the recomputed delay, except if the signal handler raises an
exception (PEP 475).

Modify also test_signal to use a monotonic clock instead of the system clock.
Doc/library/time.rst
Lib/test/eintrdata/eintr_tester.py
Lib/test/test_signal.py
Misc/NEWS
Modules/timemodule.c