bpo-32030: Add _Py_EncodeUTF8_surrogateescape() (#4960)
Py_EncodeLocale() now uses _Py_EncodeUTF8_surrogateescape(), instead of using temporary unicode and bytes objects. So Py_EncodeLocale() doesn't use the Python C API anymore.
V
Victor Stinner committed
e47e698da6bd982da277960c14afa9d9939e3155
Parent: fbd6051
Committed by GitHub <noreply@github.com>
on 12/21/2017, 2:45:16 PM