Sitelet https://web.archive.org/web/20221223150505/https://github.com/python/cpython/pull/19409
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-37388: Don't check encoding/errors during finalization #19409

Merged
merged 1 commit into from Apr 7, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 7, 2020 •

str.encode() and str.decode() no longer check the encoding and errors
in development mode or in debug mode during Python finalization. The
codecs machinery can no longer work on very late calls to
str.encode() and str.decode().

This change should help to call _PyObject_Dump() to debug during late
Python finalization.

https://bugs.python.org/issue37388

str.encode() and str.decode() no longer check the encoding and errors
in development mode or in debug mode during Python finalization. The
codecs machinery can no longer work on very late calls to
str.encode() and str.decode().

This change should help to call _PyObject_Dump() to debug during late
Python finalization.
@vstinner vstinner merged commit d8acf0d into python:master Apr 7, 2020
@vstinner vstinner deleted the unicode_check_encoding_errors branch Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants