]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add PyInterpreterState.fs_codec.utf8 (GH-18367)
authorVictor Stinner <vstinner@python.org>
Wed, 5 Feb 2020 16:39:57 +0000 (17:39 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 16:39:57 +0000 (17:39 +0100)
commitbf305cc6f05948f264349a6a6c6fd7d49c1839d3
tree29db3b1a8fb376e8cca2d847515acb47884136c5
parent0e4e735d06967145b49fd00693627f3624991dbc
Add PyInterpreterState.fs_codec.utf8 (GH-18367)

Add a fast-path for UTF-8 encoding in PyUnicode_EncodeFSDefault()
and PyUnicode_DecodeFSDefaultAndSize().

Add _PyUnicode_FiniEncodings() helper function for _PyUnicode_Fini().
Include/internal/pycore_pystate.h
Objects/unicodeobject.c