-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-96587: Raise SyntaxError
for PEP654 on older feature_version
#96588
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
Thanks @sobolevn for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Thanks @sobolevn for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry @sobolevn and @pablogsal, I had trouble checking out the |
Sorry, @sobolevn and @pablogsal, I could not cleanly backport this to |
@sobolevn Can you do the backports using cherry_picker? |
Yes, sure, but only for 3.11 |
Haha, yep, we are lucky you don't need to backport |
GH-96591 is a backport of this pull request to the 3.11 branch. |
…re_version` (pythonGH-96588). (cherry picked from commit 2c7d2e8) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
ast.parse
result forpython<3.11
and PEP654 #96587