This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients geoffreyspear, ned.deily
Date 2014-02-12.07:05:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392188712.04.0.461824819764.issue20605@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-02-12 07:05:12ned.deilysetrecipients: + ned.deily, geoffreyspear
2014-02-12 07:05:12ned.deilysetmessageid: <1392188712.04.0.461824819764.issue20605@psf.upfronthosting.co.za>
2014-02-12 07:05:11ned.deilylinkissue20605 messages
2014-02-12 07:05:11ned.deilycreate