summaryrefslogtreecommitdiff
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-11 12:37:30 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-11 12:37:30 +0200
commit1128ce50cb00f9374f75367d80c2cff21a459d96 (patch)
tree3b42c654e74f91d60ac64d1dfc6b9579a13cd736 /Python/getcompiler.c
parent0f14f9c3a44ca0f280a82a555c33a3375779f45e (diff)
downloadcpython-1128ce50cb00f9374f75367d80c2cff21a459d96.tar.gz
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom 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 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions