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 giampaolo.rodola
Recipients exarkun, giampaolo.rodola, loewis, mark.dickinson, pitrou, skrah
Date 2010-06-17.14:35:59
SpamBayes Score 0.002351004
Marked as misclassified No
Message-id <1276785362.42.0.145737391898.issue8857@psf.upfronthosting.co.za>
In-reply-to
Content
> Anyway, getaddrinfo() on FreeBSD/Qemu gives this

It seems SOCK_DGRAM is always returned which, as far as I know, doesn't make sense with FTP and SSH protocols. 
At this point, assuming getaddrinfo() correctly binds the original C function, I'd be for just removing this test since it's unreliable across all platforms.
New patch is in attachment.
History
Date User Action Args
2010-06-17 14:36:02giampaolo.rodolasetrecipients: + giampaolo.rodola, loewis, exarkun, mark.dickinson, pitrou, skrah
2010-06-17 14:36:02giampaolo.rodolasetmessageid: <1276785362.42.0.145737391898.issue8857@psf.upfronthosting.co.za>
2010-06-17 14:36:00giampaolo.rodolalinkissue8857 messages
2010-06-17 14:36:00giampaolo.rodolacreate