gh-111942: Fix SystemError in the TextIOWrapper constructor (#112061)
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>
S
Serhiy Storchaka committed
9302f05f9af07332c414b3c19003efd1b1763cf3
Parent: 0ff6368
Committed by GitHub <noreply@github.com>
on 11/14/2023, 8:02:28 PM