[Python-checkins] cpython: Issue #19849: selectors: Document the possibility of early select() wakeup upon
charles-francois.natali
python-checkins at python.org
Sun Dec 1 13:31:31 CET 2013
http://hg.python.org/cpython/rev/b0c4c7f04f05
changeset: 87678:b0c4c7f04f05
user: Charles-François Natali <cf.natali at gmail.com>
date: Sun Dec 01 13:23:48 2013 +0100
summary:
Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
files:
Doc/library/selectors.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Doc/library/selectors.rst b/Doc/library/selectors.rst
--- a/Doc/library/selectors.rst
+++ b/Doc/library/selectors.rst
@@ -150,6 +150,11 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list