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)
|
+-- io.UnsupportedOperation (also inherits from ValueError)
|
||||||
+-- socket.error
|
+-- socket.error
|
||||||
+-- socket.gaierror
|
+-- socket.gaierror
|
||||||
|
+-- socket.herror
|
||||||
+-- socket.timeout
|
+-- socket.timeout
|
||||||
+-- OSError
|
+-- OSError
|
||||||
+-- VMSError
|
+-- VMSError
|
||||||
|
@ -225,6 +226,7 @@ become::
|
||||||
+-- io.BlockingIOError
|
+-- io.BlockingIOError
|
||||||
+-- io.UnsupportedOperation (also inherits from ValueError)
|
+-- io.UnsupportedOperation (also inherits from ValueError)
|
||||||
+-- socket.gaierror
|
+-- socket.gaierror
|
||||||
|
+-- socket.herror
|
||||||
+-- socket.timeout
|
+-- socket.timeout
|
||||||
|
|
||||||
Justification
|
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
|
etc.). However, ``SSLError`` should be replaced with ``TimeoutError`` in
|
||||||
the case it signals a socket timeout.
|
the case it signals a socket timeout.
|
||||||
|
|
||||||
Endly, the fate of ``socket.gaierror`` is not settled. While it would
|
Endly, the fate of ``socket.gaierror`` and ``socket.herror`` is not settled.
|
||||||
deserve a less cryptic name, this can be handled separately from the
|
While they would deserve less cryptic names, this can be handled separately
|
||||||
exception hierarchy reorganization effort.
|
from the exception hierarchy reorganization effort.
|
||||||
|
|
||||||
|
|
||||||
.. _Appendix A:
|
.. _Appendix A:
|
||||||
|
|
Loading…
Reference in New Issue