[docs] [issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

Ned Deily report at bugs.python.org
Tue Jun 2 03:16:45 CEST 2015


Ned Deily added the comment:

Thanks for the report. According to the PSF Infrastructure Team, www.python.org currently does not support IPv6 because the Content Delivery Network that we now use does not support it yet.  One Python URL that does support IPv6:

>>> socket.getaddrinfo("hg.python.org", 80, proto=socket.IPPROTO_TCP)
[(<AddressFamily.AF_INET6: 10>, <SocketType.SOCK_STREAM: 1>, 6, '', ('2001:4802:7901:0:e60a:1375:0:4', 80, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketType.SOCK_STREAM: 1>, 6, '', ('104.130.43.97', 80))]

----------
keywords: +easy
nosy: +ned.deily
stage:  -> needs patch
title: www.python.org lost IPv6 connectivity -> Change socket.getaddrinfo example to show IPv6 connectivity
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6

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


More information about the docs mailing list