[issue16133] asyncore.dispatcher.recv doesn't handle EAGAIN / EWOULDBLOCK

STINNER Victor report at bugs.python.org
Fri Jun 27 22:55:51 CEST 2014


STINNER Victor added the comment:

EWOULDBLOCK.patch: asyncio ignores BlockingIOError on sock.recv(), "except BlockingIOError:" is more portable and future proof than "_RETRY = frozenset((EWOULDBLOCK, EAGAIN))".

Except of that, EWOULDBLOCK.patch change looks correct.

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16133>
_______________________________________


More information about the Python-bugs-list mailing list