gh-93671: Avoid exponential backtracking in deeply nested sequence patterns in match statements - #93680
Conversation
commented
Jun 10, 2022
|
Should there be a test for this? |
commented
Jun 10, 2022
I submitted the PR so we can start checking that it works in other cases. I will be adding a bunch of cases, but the tests are limited because there is nothing crashing, although I can add a bunch of cases that would take years to succeed. |
…nce patterns in match statements
commented
Jun 10, 2022
|
I can confirm that the new test just doesn't finish on |
commented
Jun 10, 2022
|
Thanks @pablogsal for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
commented
Jun 10, 2022
|
Sorry, @pablogsal and @ambv, I could not cleanly backport this to |
commented
Jun 10, 2022
|
GH-93689 is a backport of this pull request to the 3.11 branch. |
commented
Jun 10, 2022
|
Are you preparing the backport or should I do it? @ambv |
commented
Jun 10, 2022
|
GH-93690 is a backport of this pull request to the 3.10 branch. |
commented
Jun 10, 2022
|
Thanks for the quick fix, @pablogsal! |
closes: #93671