From 837a6e012fad9ef38f45600ac079376dbf216400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sun, 1 Dec 2013 13:23:48 +0100 Subject: Issue #19849: selectors: Document the possibility of early select() wakeup upon EINTR. --- Doc/library/selectors.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/selectors.rst b/Doc/library/selectors.rst index 44835fa..b0b002f 100644 --- a/Doc/library/selectors.rst +++ b/Doc/library/selectors.rst @@ -150,6 +150,11 @@ below: object. *events* is a bitmask of events ready on this file object. + .. note:: + This method can return before any file object becomes ready or the + timeout has elapsed if the current process receives a signal: in this + case, an empty list will be returned. + .. method:: close() Close the selector. -- cgit v0.12