SIGN IN SIGN UP

[3.10] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224) (#107230)

Previously *consumed was not set in this case.

(cherry picked from commit b8b3e6afc0a48c3cbb7c36d2f73e332edcd6058c)
(cherry picked from commit f08e52ccb027f6f703302b8c1a82db9fd3934270)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
1c937e58873a4d07d9c94f3f28cd4733f62dc8ab
Parent: 37d7180
Committed by GitHub <noreply@github.com> on 8/22/2023, 6:24:40 PM