summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-12-01 12:54:51 (GMT)
committerGitHub <noreply@github.com>2022-12-01 12:54:51 (GMT)
commitf08e52ccb027f6f703302b8c1a82db9fd3934270 (patch)
tree7036b719b8d50a974896b2e75586c7f64af55b27 /Misc/NEWS.d/next/C API
parentd460c8ec52716a37080d31fdc0f673edcc98bee8 (diff)
downloadcpython-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.rst2
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.