Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 21, 2017

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.

https://bugs.python.org/issue32030

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.
@vstinner vstinner merged commit e47e698 into python:master Dec 21, 2017
@vstinner vstinner deleted the encode_utf8 branch May 29, 2018 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants