]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-46707: Avoid potential exponential backtracking in some syntax errors...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Thu, 10 Feb 2022 03:54:47 +0000 (03:54 +0000)
committerGitHub <noreply@github.com>
Thu, 10 Feb 2022 03:54:47 +0000 (03:54 +0000)
commit9b23f8f78fdb0d7eba016616ae7a97abbfc65aa6
tree43d1814ef70d514f0ac8a71b04dbeb438d306c86
parent7445949a4399ab19fbdd5a0b0aca53a690c3251b
[3.10] bpo-46707: Avoid potential exponential backtracking in some syntax errors (GH-31241). (GH-31242)

(cherry picked from commit b71dc71905ab674ccaa4a56230d17a28f61c325c)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Grammar/python.gram
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2022-02-10-03-13-18.bpo-46707.xeSEh0.rst [new file with mode: 0644]
Parser/parser.c