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

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


http://hg.python.org/cpython/rev/c998c6f5464b
changeset:   73919:c998c6f5464b
branch:      3.2
parent:      73915:caeec3e3606f
user:        Charles-François Natali <neologix at free.fr>
date:        Sat Dec 10 13:16:44 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
@@ -877,6 +877,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