diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-30 21:38:00 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-30 21:38:00 +0200 |
commit | 3c7d6e069331ceab0da6b794e4069f07bb3d4aac (patch) | |
tree | 42284993b3b0cdc127c69218140a2650e73b8e60 /Doc/library/select.rst | |
parent | fa09beb1508f782b51ba0a2815c07e0294f40e95 (diff) | |
download | cpython-git-3c7d6e069331ceab0da6b794e4069f07bb3d4aac.tar.gz |
Issue #23485: select.poll.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 7fe09cbe29..26e74c70b7 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -408,6 +408,12 @@ linearly scanned again. :c:func:`select` is O(highest file descriptor), while returning. If *timeout* is omitted, negative, 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`. + .. _kqueue-objects: |