[issue19849] selectors behaviour on EINTR undocumented

New submission from Antoine Pitrou: Selector.Select() may return an empty list when interrupted, but the doc doesn't say so. The reader will probably trust the statement that """If timeout is None, the call will block until a monitored file object becomes ready""". ---------- assignee: docs@python components: Documentation messages: 204914 nosy: docs@python, neologix, pitrou priority: normal severity: normal status: open title: selectors behaviour on EINTR undocumented type: behavior versions: Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19849> _______________________________________

Charles-François Natali added the comment: How about this? ---------- keywords: +needs review, patch stage: -> patch review Added file: http://bugs.python.org/file32924/selectors_select_signal.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19849> _______________________________________

Antoine Pitrou added the comment: Looks good to me. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19849> _______________________________________

Roundup Robot added the comment: New changeset b0c4c7f04f05 by Charles-François Natali in branch 'default': Issue #19849: selectors: Document the possibility of early select() wakeup upon http://hg.python.org/cpython/rev/b0c4c7f04f05 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19849> _______________________________________

Changes by Charles-François Natali <cf.natali@gmail.com>: ---------- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue19849> _______________________________________
participants (3)
-
Antoine Pitrou
-
Charles-François Natali
-
Roundup Robot