Mercurial > cpython-lru_cache-weakref
changeset 87678:b0c4c7f04f05
Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
| author | Charles-François Natali <cf.natali@gmail.com> |
|---|---|
| date | Sun, 01 Dec 2013 13:23:48 +0100 |
| parents | f48f302f54aa |
| children | 84148898a606 |
| files | Doc/library/selectors.rst |
| diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/selectors.rst Sun Dec 01 11:04:17 2013 +0100 +++ b/Doc/library/selectors.rst Sun Dec 01 13:23:48 2013 +0100 @@ -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.
