]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #24684: socket.socket.getaddrinfo() now calls
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Sep 2015 10:42:13 +0000 (12:42 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 11 Sep 2015 10:42:13 +0000 (12:42 +0200)
commit9a2326b362055c18aed39f0ad8b86f05898733e7
treee6795ebf46249858dfb9d3dd8c1349883322cb4a
parent6f80464f4ae64c3b4dd65c641ddc9c156a23e510
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom unicode string with an encode() method which
doesn't return a byte string. The encoder of the IDNA codec is now called
directly instead of calling the encode() method of the string.
Misc/NEWS
Modules/socketmodule.c