diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index e0912d85304..1a85c0e7ce4 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 c74c2379d7e..ea3208c7680 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.)