summaryrefslogtreecommitdiff
path: root/Python/Python-ast.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
commitec1a498a01da2b4df22413ff778529d84111c2ee (patch)
tree819f96f6bba39e4d1a3f01c0c909617d2e91b31a /Python/Python-ast.c
parentdb4220ea09c2a36b3eb7edbde40b356c9caad10d (diff)
downloadcpython-git-ec1a498a01da2b4df22413ff778529d84111c2ee.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions