New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-46707: Avoid potential exponential backtracking in some syntax errors #31241
Conversation
a3398b3
to
b1ae7b5
Compare
|
CC: @tonybaloney |
|
Thanks @pablogsal for the PR |
|
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