◐ Shell
clean mode source ↗

bpo-32030: Add _Py_EncodeUTF8_surrogateescape() by vstinner · Pull Request #4960 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

python:masterfrom

vstinner:encode_utf8

Dec 21, 2017

Merged

bpo-32030: Add _Py_EncodeUTF8_surrogateescape()#4960

vstinner

merged 1 commit into

python:masterfrom

vstinner:encode_utf8

Conversation

@vstinner

@vstinner vstinner commented

Dec 21, 2017

edited by bedevere-bot

Loading

Copy link Copy Markdown

Member

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot