bpo-46707: Avoid potential exponential backtracking in some syntax errors#31241
Conversation
a3398b3 to
b1ae7b5
Compare
b1ae7b5 to
2f93d11
Compare
|
CC: @tonybaloney |
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
|
Sorry, @pablogsal, I could not cleanly backport this to |
…ntax errors (pythonGH-31241). (cherry picked from commit b71dc71) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
GH-31242 is a backport of this pull request to the 3.10 branch. |
|
|
Both are handled by the same rule path so one covers the other. I will expand the test to also cover this in any case. Thanks for the suggestion! |
https://bugs.python.org/issue46707