Antoine Pitrou added the comment:
The issue you mention is unrelated. connect_ex() returns an error code, it
doesn't raise an exception.
As for the errno attribute being None, this is because most SSLErrors don't
correspond to a single OS error. And in the case you mention ("the read
operation timed out"), it isn't an OS error at all: it's simply a select() call
timing out.
----------
nosy: +pitrou
resolution: -> invalid
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com