• Victor Stinner's avatar
    Issue #24684: socket.socket.getaddrinfo() now calls · 9a2326b3
    Victor Stinner yazdı
    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.
    9a2326b3
socketmodule.c 157 KB