summaryrefslogtreecommitdiffstats
path: root/Python/optimizer.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-11-14 20:02:28 (GMT)
committerGitHub <noreply@github.com>2023-11-14 20:02:28 (GMT)
commit9302f05f9af07332c414b3c19003efd1b1763cf3 (patch)
tree496fcbadb2abf8e0db779fa4e942fcfc9a91234c /Python/optimizer.c
parent0ff6368519ed7542ad8b443de01108690102420a (diff)
downloadcpython-9302f05f9af07332c414b3c19003efd1b1763cf3.zip
cpython-9302f05f9af07332c414b3c19003efd1b1763cf3.tar.gz
cpython-9302f05f9af07332c414b3c19003efd1b1763cf3.tar.bz2
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>
Diffstat (limited to 'Python/optimizer.c')
0 files changed, 0 insertions, 0 deletions