From: Charles-François Natali Date: Sun, 1 Dec 2013 12:23:48 +0000 (+0100) Subject: Issue #19849: selectors: Document the possibility of early select() wakeup upon X-Git-Tag: v3.4.0b2~413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=837a6e012fad9ef38f45600ac079376dbf216400;p=thirdparty%2FPython%2Fcpython.git Issue #19849: selectors: Document the possibility of early select() wakeup upon EINTR. --- diff --git a/Doc/library/selectors.rst b/Doc/library/selectors.rst index 44835fa3374c..b0b002f0e182 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.