[New-bugs-announce] [issue10414] socket.gethostbyname doesn't return an ipv6 address
report at bugs.python.org
Sun Nov 14 05:35:18 CET 2010
New submission from david <db.pub.mail at gmail.com>:
(socket.gethostbyname doesn't return an ipv6 address)
So just to start with I know the documentation says  "and getaddrinfo() should be used instead for IPv4/v6 dual stack support."
However, the getaddrinfo() method provides more information than required. Why can't getaddrinfo support ipv6 ? or a method for ipv6 added to the socket module to make getting a host address by name easier (for ipv6) ?
 - http://docs.python.org/library/socket.html#socket.gethostbyname
title: socket.gethostbyname doesn't return an ipv6 address
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce