[Python-checkins] peps: Small update wrt.SSLError

antoine.pitrou python-checkins at python.org
Tue May 10 17:23:20 CEST 2011


http://hg.python.org/peps/rev/6c4c8b21cb05
changeset:   3875:6c4c8b21cb05
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue May 10 17:23:14 2011 +0200
summary:
  Small update wrt.SSLError

files:
  pep-3151.txt |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/pep-3151.txt b/pep-3151.txt
--- a/pep-3151.txt
+++ b/pep-3151.txt
@@ -551,8 +551,8 @@
 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

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list