[issue20605] test_socket (testGetaddrinfo) failing on OS X 10.6.8 (32-bit)
Ned Deily
report at bugs.python.org
Wed Feb 12 08:05:12 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue20605>
_______________________________________
More information about the Python-bugs-list
mailing list