Ned Deily added the comment:

The test works for me on OS X 10.6 and OS X 10.9.  My guess is that the problem 
you are seeing is due to a failing lookup of "localhost".  What does your 
Python report for:

socket.gethostbyname("localhost")

The getaddrinfo(3) man page description does not really cover the case here 
since Python's socketmodule.c contains a workaround to prevent an OS X segfault 
(Issue17269) so the test that is failing is actually equivalent to:

socket.getaddrinfo("localhost", "00", 0, 0, 0, socket.AI_NUMERICSERV)

The equivalent C code executes without error on my systems regardless whether 
it is meaningful.

----------
nosy: +ned.deily

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20605>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to