commit | e47e698da6bd982da277960c14afa9d9939e3155 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Dec 21 15:45:16 2017 +0100 |
committer | GitHub <noreply@github.com> | Thu Dec 21 15:45:16 2017 +0100 |
tree | dd6a4bee16d8c66533f6a6c3f71f24f39caafd35 | |
parent | fbd605151fcf2899b14575f4ddb9ce3c55e684ab [diff] |
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.