diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-12-01 12:54:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 12:54:51 (GMT) |
commit | f08e52ccb027f6f703302b8c1a82db9fd3934270 (patch) | |
tree | 7036b719b8d50a974896b2e75586c7f64af55b27 /Misc/NEWS.d/next/C API | |
parent | d460c8ec52716a37080d31fdc0f673edcc98bee8 (diff) | |
download | cpython-f08e52ccb027f6f703302b8c1a82db9fd3934270.zip cpython-f08e52ccb027f6f703302b8c1a82db9fd3934270.tar.gz cpython-f08e52ccb027f6f703302b8c1a82db9fd3934270.tar.bz2 |
gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613)
Previously *consumed was not set in this case.
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r-- | Misc/NEWS.d/next/C API/2022-11-20-09-52-50.gh-issue-99612.eBHksg.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2022-11-20-09-52-50.gh-issue-99612.eBHksg.rst b/Misc/NEWS.d/next/C API/2022-11-20-09-52-50.gh-issue-99612.eBHksg.rst new file mode 100644 index 0000000..40e3c8d --- /dev/null +++ b/Misc/NEWS.d/next/C API/2022-11-20-09-52-50.gh-issue-99612.eBHksg.rst @@ -0,0 +1,2 @@ +Fix :c:func:`PyUnicode_DecodeUTF8Stateful` for ASCII-only data: +``*consumed`` was not set. |