diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-30 19:59:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-30 19:59:21 (GMT) |
commit | 41eba224de4d4752346ab051b6a411ec6f4a29fb (patch) | |
tree | 0bf84e5e39ab19990fa9ae6a0382d99ff5992558 /Doc | |
parent | 3c7d6e069331ceab0da6b794e4069f07bb3d4aac (diff) | |
download | cpython-41eba224de4d4752346ab051b6a411ec6f4a29fb.zip cpython-41eba224de4d4752346ab051b6a411ec6f4a29fb.tar.gz cpython-41eba224de4d4752346ab051b6a411ec6f4a29fb.tar.bz2 |
Issue #23485: select.epoll.poll() is now retried when interrupted by a signal
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/select.rst | 6 | ||||
-rw-r--r-- | Doc/whatsnew/3.5.rst | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 26e74c7..61f3835 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -329,6 +329,12 @@ Edge and Level Trigger Polling (epoll) Objects Wait for events. timeout in seconds (float) + .. 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`. + .. _poll-objects: diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 07776c1..a0d1bd9 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -621,7 +621,7 @@ Changes in the Python API - :func:`os.open`, :func:`open` - :func:`os.read`, :func:`os.write` - - :func:`select.select`, :func:`select.poll.poll` + - :func:`select.select`, :func:`select.poll.poll`, :func:`select.epoll.poll` - :func:`time.sleep` * Before Python 3.5, a :class:`datetime.time` object was considered to be false |