Skip to content

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

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:unicode_check_encoding_errors
Apr 7, 2020
Merged

bpo-37388: Don't check encoding/errors during finalization#19409
vstinner merged 1 commit intopython:masterfrom
vstinner:unicode_check_encoding_errors

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 April 7, 2020 14:07
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.

3 participants