diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-11 10:42:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-11 10:42:13 (GMT) |
commit | 9a2326b362055c18aed39f0ad8b86f05898733e7 (patch) | |
tree | e6795ebf46249858dfb9d3dd8c1349883322cb4a /Lib/idlelib/TreeWidget.py | |
parent | 6f80464f4ae64c3b4dd65c641ddc9c156a23e510 (diff) | |
download | cpython-9a2326b362055c18aed39f0ad8b86f05898733e7.zip cpython-9a2326b362055c18aed39f0ad8b86f05898733e7.tar.gz cpython-9a2326b362055c18aed39f0ad8b86f05898733e7.tar.bz2 |
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.
Diffstat (limited to 'Lib/idlelib/TreeWidget.py')
0 files changed, 0 insertions, 0 deletions