[issue25473] socket.recv() raises correct code with the misleading description 'BlockingIOError: [Errno 11] Resource temporarily unavailable'
Benjamin Peterson
report at bugs.python.org
Sun Oct 25 21:53:08 EDT 2015
Benjamin Peterson added the comment:
This is simply the way glibc defines the error messages.
% python3
Python 3.4.3 (default, Sep 27 2015, 15:15:25)
[GCC 4.8.5] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import errno, os
>>> errno.EAGAIN, errno.EWOULDBLOCK
(11, 11)
>>> os.strerror(errno.EAGAIN)
'Resource temporarily unavailable'
----------
nosy: +benjamin.peterson
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25473>
_______________________________________
More information about the Python-bugs-list
mailing list