[issue10272] SSL timeouts should raise socket.timeout, not a generic SSLError

Antoine Pitrou report at bugs.python.org
Fri Dec 3 20:57:20 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Requalifying this issue so that the ssl module is fixed to raise socket.timeout on socket timeouts, which is not only more logical but much more useful (since you can then specifically handle this error).

----------
priority: low -> normal
title: SSL handshake timeouts not caught by transient_internet -> SSL timeouts should raise socket.timeout, not a generic SSLError
versions:  -Python 2.7, Python 3.1

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


More information about the Python-bugs-list mailing list