cpython/Parser
Miss Islington (bot) ffafa9b91d
gh-96268: Fix loading invalid UTF-8 (GH-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.
(cherry picked from commit 8bc356a7dd)

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2022-09-07 14:49:17 -07:00
..
action_helpers.c bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302) 2022-04-05 14:47:13 +01:00
asdl.py
asdl_c.py [3.11] gh-95185: Check recursion depth in the AST constructor (GH-95186) (GH-95208) 2022-07-26 12:19:22 +02:00
myreadline.c bpo-45434: Move _Py_BEGIN_SUPPRESS_IPH to pycore_fileutils.h (GH-28922) 2021-10-13 15:03:35 +02:00
parser.c [3.11] gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934) (GH-95936) 2022-08-12 12:41:09 -07:00
peg_api.c
pegen.c [3.11] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96500) 2022-09-02 09:48:57 -07:00
pegen.h bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302) 2022-04-05 14:47:13 +01:00
pegen_errors.c gh-95876: Fix format string in pegen error location code (GH-95877) 2022-08-11 02:19:20 -07:00
Python.asdl bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467) 2022-01-07 13:05:28 -08:00
string_parser.c gh-94869: Fix the location in some expressions for multi-line f-string ast nodes (GH-94895) 2022-07-16 12:16:51 -07:00
string_parser.h
token.c
tokenizer.c gh-96268: Fix loading invalid UTF-8 (GH-96270) 2022-09-07 14:49:17 -07:00
tokenizer.h Ensure the str member of the tokenizer is always initialised (GH-29681) 2021-11-21 02:06:39 +00:00