You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyUnicode_DecodeUTF8Stateful() should save the number of successfully decoded bytes in *consumed. But if all bytes are in the ASCII range, it uses a fast path and does not set *consumed.
It was found during writing coverage tests for Unicode C API (#99593).
PyUnicode_DecodeUTF8Stateful()should save the number of successfully decoded bytes in*consumed. But if all bytes are in the ASCII range, it uses a fast path and does not set*consumed.It was found during writing coverage tests for Unicode C API (#99593).
Linked PRs