New submission from david <db.pub.m...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10414>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to