]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109596: Ensure repeated rules in the grammar are not allowed and fix incorr...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Mon, 2 Oct 2023 15:22:07 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:22:07 +0000 (17:22 +0200)
commitf6cb2e48152fc7b44d55583ad8b80b653085bae2
tree69b634818ebd0a76d8ccde5c6a9db3b02eb09625
parentc7cbd82e62d22b6b1c6d4e95dbbd1db16c321533
[3.12] gh-109596: Ensure repeated rules in the grammar are not allowed and fix incorrect soft keywords (GH-109606). (#109752)

(cherry picked from commit b28ffaa193efc66f46ab90d383279174a11a11d7)
Grammar/python.gram
Include/compile.h
Lib/test/test_peg_generator/test_pegen.py
Misc/NEWS.d/next/Core and Builtins/2023-09-20-13-18-08.gh-issue-109596.RG0K2G.rst [new file with mode: 0644]
Parser/parser.c
Parser/pegen_errors.c
Tools/peg_generator/pegen/grammar.py