SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 89 Python

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.
V
Victor Stinner committed
ec1a498a01da2b4df22413ff778529d84111c2ee
Parent: db4220e