commit | d8acf0d9aae71d1897e8f91989bd8bfb4a9ef9c6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 07 16:07:42 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 07 16:07:42 2020 +0200 |
tree | 5a5a4189b9908dfce74c24dcc34f512374f85458 | |
parent | 74e1b6b100719e11471e7e9949465655477926e2 [diff] |
bpo-37388: Don't check encoding/errors during finalization (GH-19409) 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.