[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
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
Antoine Pitrou added the comment:
Looks good to me.
----------
_______________________________________
Python tracker
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
Changes by Charles-François Natali
participants (3)
-
Antoine Pitrou
-
Charles-François Natali
-
Roundup Robot