]> granicus.if.org Git - python/commitdiff
Mention that gethostbyaddr now also supports IDNA.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 22 Aug 2010 19:38:04 +0000 (19:38 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 22 Aug 2010 19:38:04 +0000 (19:38 +0000)
Lib/test/test_socket.py
Misc/NEWS

index e0912d8530457fdafbccdb1a778745fd0ecd1b68..1a85c0e7ce415094cf9a32829bc5a62b9df85da4 100644 (file)
@@ -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):
index c74c2379d7ea2b94eb4abdccd83858598ae1cd49..ea3208c7680ac56b6ecd1f16ae776ab98a8a0a36 100644 (file)
--- 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.)