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 ronaldoussoren
Recipients ned.deily, ronaldoussoren, tibbe, vstinner
Date 2013-02-22.06:58:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361516287.92.0.972832095597.issue17269@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like a bug in libSystem, see mdns_addrinfo in <http://www.opensource.apple.com/source/Libinfo/Libinfo-406.17/lookup.subproj/mdns_module.c>. Its handling of AI_NUMERICSERV doesn't match that of si_getaddrinfo.c at the same location.

I'll file a bug with Apple, anyone running into this problem migh want to do so as well (Apple's tracker is more or less a popularity contest, the more an issue is report, the more likely it is to get fixed).

I'm in favor of working around this bug on OSX by settings the servname to "0" when AI_NUMERICSERVICE is set and the passed in service name is None. I\m working on a patch.
History
Date User Action Args
2013-02-22 06:58:07ronaldoussorensetrecipients: + ronaldoussoren, vstinner, ned.deily, tibbe
2013-02-22 06:58:07ronaldoussorensetmessageid: <1361516287.92.0.972832095597.issue17269@psf.upfronthosting.co.za>
2013-02-22 06:58:07ronaldoussorenlinkissue17269 messages
2013-02-22 06:58:07ronaldoussorencreate