[issue22063] asyncio: sock_xxx() methods of event loops should make the socket non-blocking

2014-07-24 Thread STINNER Victor
New submission from STINNER Victor: The sock_xxx() methods of asyncio.BaseEventLoop don't make the socket non-blocking, and the documentation doesn't require that sockets are already set to non-blocking mode. It looks like a bug, at least in the documentation. If these methods should make

[issue22063] asyncio: sock_xxx() methods of event loops should make the socket non-blocking

2014-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: PEP 3156 is clear: The socket argument has to be a non-blocking socket. So it's a documentation issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22063