cpython/Misc/NEWS.d/next/Core and Builtins/2020-04-07-15-44-29.bpo-373...

5 lines
228 B
ReStructuredText

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().