Mention socket.herror (!)
This commit is contained in:
parent
12c3f5ecc0
commit
6d51c53840
|
@ -48,6 +48,7 @@ of classes, arranged in the following sub-hierarchies::
|
|||
+-- io.UnsupportedOperation (also inherits from ValueError)
|
||||
+-- socket.error
|
||||
+-- socket.gaierror
|
||||
+-- socket.herror
|
||||
+-- socket.timeout
|
||||
+-- OSError
|
||||
+-- VMSError
|
||||
|
@ -225,6 +226,7 @@ become::
|
|||
+-- io.BlockingIOError
|
||||
+-- io.UnsupportedOperation (also inherits from ValueError)
|
||||
+-- socket.gaierror
|
||||
+-- socket.herror
|
||||
+-- socket.timeout
|
||||
|
||||
Justification
|
||||
|
@ -517,9 +519,9 @@ 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.
|
||||
|
||||
Endly, the fate of ``socket.gaierror`` is not settled. While it would
|
||||
deserve a less cryptic name, this can be handled separately from the
|
||||
exception hierarchy reorganization effort.
|
||||
Endly, the fate of ``socket.gaierror`` and ``socket.herror`` is not settled.
|
||||
While they would deserve less cryptic names, this can be handled separately
|
||||
from the exception hierarchy reorganization effort.
|
||||
|
||||
|
||||
.. _Appendix A:
|
||||
|
|
Loading…
Reference in New Issue