[Python-checkins] cpython (merge 3.2 -> default): Issue #13453: Catch EAI_FAIL in support.transient_internet.

charles-francois.natali python-checkins at python.org
Sat Dec 10 13:19:06 CET 2011


http://hg.python.org/cpython/rev/767badea87c3
changeset:   73920:767badea87c3
parent:      73917:a3309634f38c
parent:      73919:c998c6f5464b
user:        Charles-François Natali <neologix at free.fr>
date:        Sat Dec 10 13:17:46 2011 +0100
summary:
  Issue #13453: Catch EAI_FAIL in support.transient_internet.

files:
  Lib/test/support.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/support.py b/Lib/test/support.py
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -951,6 +951,7 @@
     ]
     default_gai_errnos = [
         ('EAI_AGAIN', -3),
+        ('EAI_FAIL', -4),
         ('EAI_NONAME', -2),
         ('EAI_NODATA', -5),
         # Encountered when trying to resolve IPv6-only hostnames

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


More information about the Python-checkins mailing list