]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 25 Jul 2023 11:15:14 +0000 (14:15 +0300)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 11:15:14 +0000 (14:15 +0300)
commitb8b3e6afc0a48c3cbb7c36d2f73e332edcd6058c
treefdced2a6b57abb0be7f710d4c70320deec48ce57
parent058741cc39dd2b63907931e2b626f7428ba13253
[3.11] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224)

Previously *consumed was not set in this case.
(cherry picked from commit f08e52ccb027f6f703302b8c1a82db9fd3934270)
Lib/test/test_capi/test_codecs.py [new file with mode: 0644]
Misc/NEWS.d/next/C API/2022-11-20-09-52-50.gh-issue-99612.eBHksg.rst [new file with mode: 0644]
Modules/_testcapimodule.c
Objects/unicodeobject.c