[Python-checkins] cpython (merge 3.2 -> default): Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
antoine.pitrou
python-checkins at python.org
Fri Apr 29 00:49:50 CEST 2011
http://hg.python.org/cpython/rev/1e3c6fedcf8e
changeset: 69677:1e3c6fedcf8e
parent: 69674:19ab4d6d313f
parent: 69676:89ebde7cd8ea
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri Apr 29 00:49:03 2011 +0200
summary:
Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
files:
Lib/test/support.py | 2 ++
1 files changed, 2 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
@@ -835,6 +835,8 @@
default_gai_errnos = [
('EAI_NONAME', -2),
('EAI_NODATA', -5),
+ # Encountered when trying to resolve IPv6-only hostnames
+ ('WSANO_DATA', 11004),
]
denied = ResourceDenied("Resource '%s' is not available" % resource_name)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list