mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal
This commit is contained in:
parent
4448c08451
commit
45ca48b03d
5 changed files with 85 additions and 49 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue