Giampaolo Rodola' <g.rod...@gmail.com> added the comment: > 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. ---------- Added file: http://bugs.python.org/file17697/getaddrinfo.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8857> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com