summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-08-22 19:38:04 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-08-22 19:38:04 (GMT)
commit56773cf0d266a5bf33fd5b3ffa3741a2e117c1a9 (patch)
tree8fc9381d69b885451634afbc5ade5fad1ceb3c42
parentfc0275a14a1c1c3df276bf9161cfab9da8026257 (diff)
downloadcpython-56773cf0d266a5bf33fd5b3ffa3741a2e117c1a9.zip
cpython-56773cf0d266a5bf33fd5b3ffa3741a2e117c1a9.tar.gz
cpython-56773cf0d266a5bf33fd5b3ffa3741a2e117c1a9.tar.bz2
Mention that gethostbyaddr now also supports IDNA.
-rw-r--r--Lib/test/test_socket.py1
-rw-r--r--Misc/NEWS3
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index e0912d8..1a85c0e 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -642,6 +642,7 @@ class GeneralModuleTests(unittest.TestCase):
socket.gethostbyname('испытание.python.org')
socket.gethostbyname_ex('испытание.python.org')
socket.getaddrinfo('испытание.python.org',0)
+ socket.gethostbyaddr('испытание.python.org')
@unittest.skipUnless(thread, 'Threading required for this test.')
class BasicTCPTest(SocketConnectedTest):
diff --git a/Misc/NEWS b/Misc/NEWS
index c74c237..ea3208c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -66,7 +66,8 @@ Core and Builtins
Extensions
----------
-- Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex and getaddrinfo.
+- Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex,
+ getaddrinfo and gethostbyaddr.
- Issue #9214: Set operations on a KeysView or ItemsView in collections
now correctly return a set. (Patch by Eli Bendersky.)