[issue22063] asyncio: sock_xxx() methods of event loops should check ath sockets are non-blocking
STINNER Victor
report at bugs.python.org
Thu Jul 31 02:58:31 CEST 2014
STINNER Victor added the comment:
I reopen the issue because the documentation is not correct. Using the proactor event loop, the socket doesn't need to be non-blocking. Should we mention it?
Another issue: BaseEventLoop.connect_read_pipe() doc says that the pipe is set to non-blocking mode, whereas BaseEventLoop.connect_read_pipe() doc requires that the pipe is already in non-blocking mode. On UNIX, both methods set the pipe to non-blocking mode.
It may also help to mention directly in BaseEventLoop.connect_read_pipe() doc that it is not available on Windows when using the SelectorEventLoop.
----------
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22063>
_______________________________________
More information about the Python-bugs-list
mailing list