[Python-checkins] r86400 - peps/trunk/pep-3151.txt

antoine.pitrou python-checkins at python.org
Wed Nov 10 18:38:46 CET 2010


Author: antoine.pitrou
Date: Wed Nov 10 18:38:46 2010
New Revision: 86400

Log:
Mention socket.herror (!)



Modified:
   peps/trunk/pep-3151.txt

Modified: peps/trunk/pep-3151.txt
==============================================================================
--- peps/trunk/pep-3151.txt	(original)
+++ peps/trunk/pep-3151.txt	Wed Nov 10 18:38:46 2010
@@ -48,6 +48,7 @@
             +-- io.UnsupportedOperation (also inherits from ValueError)
             +-- socket.error
                 +-- socket.gaierror
+                +-- socket.herror
                 +-- socket.timeout
         +-- OSError
             +-- VMSError
@@ -225,6 +226,7 @@
         +-- io.BlockingIOError
         +-- io.UnsupportedOperation (also inherits from ValueError)
         +-- socket.gaierror
+        +-- socket.herror
         +-- socket.timeout
 
 Justification
@@ -517,9 +519,9 @@
 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:


More information about the Python-checkins mailing list