summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2022-09-07 21:23:54 (GMT)
committerGitHub <noreply@github.com>2022-09-07 21:23:54 (GMT)
commit8bc356a7dd50cbdb46d10b8c7e457832431f5d9e (patch)
tree9426a7c4149963ad5e85964a8a2ac3f6b7bf72cc /Python/getcompiler.c
parent3e26de3c1f24bf0810eaaf7d75a4332775870e78 (diff)
downloadcpython-8bc356a7dd50cbdb46d10b8c7e457832431f5d9e.zip
cpython-8bc356a7dd50cbdb46d10b8c7e457832431f5d9e.tar.gz
cpython-8bc356a7dd50cbdb46d10b8c7e457832431f5d9e.tar.bz2
gh-96268: Fix loading invalid UTF-8 (#96270)
This makes tokenizer.c:valid_utf8 match stringlib/codecs.h:decode_utf8. It also fixes an off-by-one error introduced in 3.10 for the line number when the tokenizer reports bad UTF8.
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions