Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal

This commit is contained in:
Victor Stinner 2015-03-31 12:10:33 +02:00
parent 4448c08451
commit 45ca48b03d
5 changed files with 85 additions and 49 deletions

View file

@ -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: