From: Martin v. Löwis Date: Sun, 22 Aug 2010 19:38:04 +0000 (+0000) Subject: Mention that gethostbyaddr now also supports IDNA. X-Git-Tag: v3.2a2~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56773cf0d266a5bf33fd5b3ffa3741a2e117c1a9;p=python Mention that gethostbyaddr now also supports IDNA. --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index e0912d8530..1a85c0e7ce 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 c74c2379d7..ea3208c768 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.)