diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-31 10:10:33 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-31 10:10:33 (GMT) |
commit | 45ca48b03d08cdc9959e0577bc84b845931112f6 (patch) | |
tree | eb66f50e3fb83a117fdb522531b8123b3353a4e7 /Doc/library/select.rst | |
parent | 4448c08451e947ccf197742d22fa49adba71e363 (diff) | |
download | cpython-45ca48b03d08cdc9959e0577bc84b845931112f6.zip cpython-45ca48b03d08cdc9959e0577bc84b845931112f6.tar.gz cpython-45ca48b03d08cdc9959e0577bc84b845931112f6.tar.bz2 |
Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r-- | Doc/library/select.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index e6f95fd..a62dc84 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -249,6 +249,12 @@ object. returning. If *timeout* is omitted, -1, or :const:`None`, the call will block until there is an event for this poll object. + .. versionchanged:: 3.5 + The function is now retried with a recomputed timeout when interrupted by + a signal, except if the signal handler raises an exception (see + :pep:`475` for the rationale), instead of raising + :exc:`InterruptedError`. + .. _epoll-objects: |