-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-99153: set location on SyntaxError for try with both except and except* #99160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, @iritkatriel, I could not cleanly backport this to |
GH-99168 is a backport of this pull request to the 3.11 branch. |
…and except* (pythonGH-99160) (cherry picked from commit 61b6c40)
Fixes #99153.
I made it point to the
try
because we don't know whichexcept
orexcept*
is incorrect.