Re: [Python-Dev] cpython (2.7): Issue #24357: Change host in socket.getaddrinfo example to one that

2015-06-01 Thread 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 n...@acm.org
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.


___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] cpython (2.7): Issue #24357: Change host in socket.getaddrinfo example to one that

2015-06-01 Thread Ned Deily
On Jun 1, 2015, at 20:46, Serhiy Storchaka storch...@gmail.com wrote:
 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 n...@acm.org
 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
  n...@acm.org -- []


___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com