[issue8858] socket.getaddrinfo returns wrong results for IPv6 addresses

Antoine Pitrou report at bugs.python.org
Mon May 31 12:50:18 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

This is under Mandriva Linux 2010.1 (release candidate).

Python 3.2a0 (py3k:81616, May 31 2010, 12:40:34) 
[GCC 4.4.3] on linux2

It seems ENABLE_IPV6 isn't defined:

$ grep IPV6 pyconfig.h
32:/* #undef ENABLE_IPV6 */

Yet AF_INET6 is defined and has the same value as returned by socket.getaddrinfo():

>>> socket.AF_INET6
10

I'll try to ./configure again.

----------

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


More information about the Python-bugs-list mailing list