Re: [Python-Dev] cpython (2.7): Issue #24357: Change host in socket.getaddrinfo example to one that
On 02.06.15 04:58, ned.deily wrote:
https://hg.python.org/cpython/rev/30da21d2fa4f changeset: 96458:30da21d2fa4f branch: 2.7 parent: 96454:5e8fa1b13516 user: Ned Deily
date: Mon Jun 01 18:45:49 2015 -0700 summary: Issue #24357: Change host in socket.getaddrinfo example to one that does support IPv6 and IPv4; www.python.org currently does not. files: Doc/library/socket.rst | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -262,12 +262,12 @@ method.
The following example fetches address information for a hypothetical TCP - connection to ``www.python.org`` on port 80 (results may differ on your + connection to ``google.com`` on port 80 (results may differ on your system if IPv6 isn't enabled)::
example.org does support IPv6 and IPv4 too, and is not commercial name.
On Jun 1, 2015, at 20:46, Serhiy Storchaka
On 02.06.15 04:58, ned.deily wrote:
https://hg.python.org/cpython/rev/30da21d2fa4f changeset: 96458:30da21d2fa4f branch: 2.7 parent: 96454:5e8fa1b13516 user: Ned Deily
date: Mon Jun 01 18:45:49 2015 -0700 summary: Issue #24357: Change host in socket.getaddrinfo example to one that does support IPv6 and IPv4; www.python.org currently does not. example.org does support IPv6 and IPv4 too, and is not commercial name.
Good suggestion, thanks! -- Ned Deily nad@acm.org -- []
participants (2)
-
Ned Deily
-
Serhiy Storchaka