mirror of
https://github.com/python/cpython.git
synced 2026-05-29 23:56:56 -04:00
9302f05f9a
In non-debug more the check for the "errors" argument is skipped, and then PyUnicode_AsUTF8() can fail, but its result was not checked. Co-authored-by: Victor Stinner <vstinner@python.org>