Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (2.7): Try to fix failure of a Windows buildbot to capture name resolution errors.

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Jun 25, 2012, 3:52 PM

Post #1 of 1 (47 views)
Permalink
cpython (2.7): Try to fix failure of a Windows buildbot to capture name resolution errors.

http://hg.python.org/cpython/rev/f41c08d5c9e8
changeset: 77786:f41c08d5c9e8
branch: 2.7
parent: 77783:99f0c0207faa
user: Antoine Pitrou <solipsis [at] pitrou>
date: Tue Jun 26 00:48:59 2012 +0200
summary:
Try to fix failure of a Windows buildbot to capture name resolution errors.

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


diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -767,6 +767,9 @@
('EAI_FAIL', -4),
('EAI_NONAME', -2),
('EAI_NODATA', -5),
+ # Windows defines EAI_NODATA as 11001 but idiotic getaddrinfo()
+ # implementation actually returns WSANO_DATA i.e. 11004.
+ ('WSANO_DATA', 11004),
]

denied = ResourceDenied("Resource '%s' is not available" % resource_name)

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

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.