-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-46707: Avoid potential exponential backtracking in some syntax errors #31241
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
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 <[email protected]>
GH-31242 is a backport of this pull request to the 3.10 branch. |
…ntax errors (GH-31241). (GH-31242) (cherry picked from commit b71dc71) Co-authored-by: Pablo Galindo Salgado <[email protected]>
|
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