]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Jun 2022 16:21:04 +0000 (09:21 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Jun 2022 16:21:04 +0000 (09:21 -0700)
commitf9d0240db809fbb4443dc8f96a18e4c49af3fb7f
treed9f7ebf49a52c76e9e5796d470b51a2dede73244
parent98558a83976b0279b1404fcb67bc72e7fcf3fe8a
gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements (GH-93680)

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