[issue10414] socket.gethostbyname doesn't return an ipv6 address
david
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 [0] "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) ?
[0] - http://docs.python.org/library/socket.html#socket.gethostbyname
----------
messages: 121174
nosy: db
priority: normal
severity: normal
status: open
title: socket.gethostbyname doesn't return an ipv6 address
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10414>
_______________________________________
More information about the Python-bugs-list
mailing list