[issue1282647] socket.getaddrinfo() bug for IPv6 enabled platforms

Bert Vermeulen report at bugs.python.org
Tue Oct 6 12:55:47 CEST 2009


Bert Vermeulen <bert at biot.com> added the comment:

This is not a python bug, but a bug in the underlying libc. A simple
getaddrinfo() call in C exhibits the exact same behavior. It has been
fixed at some point; I see this bug on Centos 3.3 but not on Centos 4.4,
for example.

I've attached a small C demo that will fail on Centos 3.3, but work on
more recent platforms.

----------
nosy: +biot
Added file: http://bugs.python.org/file15053/gai.c

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1282647>
_______________________________________


More information about the Python-bugs-list mailing list