]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 22 Aug 2023 18:25:15 +0000 (21:25 +0300)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2023 18:25:15 +0000 (20:25 +0200)
commit4a793281956db0e4a1ca5fdc5f3a0e91f331a75d
tree8068764027bbff21cdb3f504b93445e1d462a3ab
parent264b1dacc67346efa0933d1e63f622676e0ed96b
[3.9] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224) (#107231)

Previously *consumed was not set in this case.
(cherry picked from commit f08e52ccb027f6f703302b8c1a82db9fd3934270).
(cherry picked from commit b8b3e6afc0a48c3cbb7c36d2f73e332edcd6058c)
Lib/test/test_unicode.py
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