0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00
cpython/Parser
Michael Droettboom 8bc356a7dd
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.
2022-09-07 14:23:54 -07:00
..
action_helpers.c
asdl_c.py
asdl.py
myreadline.c
parser.c gh-96587: Raise SyntaxError for PEP654 on older feature_version (#96588) 2022-09-05 17:54:09 +01:00
peg_api.c
pegen_errors.c
pegen.c gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) 2022-09-02 09:35:08 -07:00
pegen.h
Python.asdl
string_parser.c
string_parser.h
token.c
tokenizer.c gh-96268: Fix loading invalid UTF-8 (#96270) 2022-09-07 14:23:54 -07:00
tokenizer.h