[Python-checkins] cpython (3.2): Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
antoine.pitrou
python-checkins at python.org
Fri Apr 29 00:49:49 CEST 2011
http://hg.python.org/cpython/rev/89ebde7cd8ea
changeset: 69676:89ebde7cd8ea
branch: 3.2
parent: 69668:32031e33d793
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri Apr 29 00:44:33 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
@@ -839,6 +839,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