[issue6471] errno and strerror attributes incorrectly set on socket.error

R. David Murray report at bugs.python.org
Mon Jul 13 04:37:01 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

Yes, it looks to me like urllib is intentionally putting the 'socket
error' or 'url error' into the errno position in the IOError arguments.
 Now that socket.error is an IOError, that at least seems wrong.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list