Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r89303:7e9cf53b2273
Date: 2017-01-02 16:59 +0100
http://bitbucket.org/pypy/pypy/changeset/7e9cf53b2273/

Log:    getaddrinfo() already supports the idna encoding, although it was
        not tested

diff --git a/pypy/module/_socket/test/test_sock_app.py 
b/pypy/module/_socket/test/test_sock_app.py
--- a/pypy/module/_socket/test/test_sock_app.py
+++ b/pypy/module/_socket/test/test_sock_app.py
@@ -687,6 +687,7 @@
         domain = 
u"&#1080;&#1089;&#1087;&#1099;&#1090;&#1072;&#1085;&#1080;&#1077;.pythontest.net"
         _socket.gethostbyname(domain)
         _socket.gethostbyname_ex(domain)
+        _socket.getaddrinfo(domain, 0, _socket.AF_UNSPEC, _socket.SOCK_STREAM)
 
 
 class AppTestNetlink:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to