Small update wrt.SSLError
This commit is contained in:
parent
96e05b3e65
commit
e3ee4ff098
|
@ -551,8 +551,8 @@ This PEP also ignores ``SSLError``, which is raised by the ``ssl`` module
|
|||
in order to propagate errors signalled by the ``OpenSSL`` library. Ideally,
|
||||
``SSLError`` would benefit from a similar but separate treatment since it
|
||||
defines its own constants for error types (``ssl.SSL_ERROR_WANT_READ``,
|
||||
etc.). However, ``SSLError`` should be replaced with ``TimeoutError`` in
|
||||
the case it signals a socket timeout.
|
||||
etc.). In Python 3.2, ``SSLError`` is already replaced with ``socket.timeout``
|
||||
when it signals a socket timeout (see `issue 10272 <http://bugs.python.org/issue10272>`_).
|
||||
|
||||
Endly, the fate of ``socket.gaierror`` and ``socket.herror`` is not settled.
|
||||
While they would deserve less cryptic names, this can be handled separately
|
||||
|
|
Loading…
Reference in New Issue