]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-93671: Avoid exponential backtracking in deeply nested sequence patterns...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Fri, 10 Jun 2022 18:34:15 +0000 (19:34 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Jun 2022 18:34:15 +0000 (19:34 +0100)
commit8f36c735b2aa694b140a19d9425bbdf54de5f212
treea9b4e898c1f4e20cc5f68ee9b25a480112efcfbd
parent9041b00283737f77acbb392871886913d82144f8
[3.10] gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680) (#93690)

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>.
(cherry picked from commit 53a8b17895e91d08f76a2fb59a555d012cd85ab4)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Grammar/python.gram
Lib/test/test_patma.py
Misc/NEWS.d/next/Core and Builtins/2022-06-10-12-03-17.gh-issue-93671.idkQqG.rst [new file with mode: 0644]
Parser/parser.c