gh-131831: Implement PEP 758 – Allow except and except* expressions without parentheses#131833
Merged
pablogsal merged 10 commits intopython:mainfrom Apr 1, 2025
Merged
gh-131831: Implement PEP 758 – Allow except and except* expressions without parentheses#131833pablogsal merged 10 commits intopython:mainfrom
pablogsal merged 10 commits intopython:mainfrom
Conversation
pablogsal
commented
Mar 28, 2025
Member
Author
|
I am missing a test for |
tomasr8
reviewed
Mar 28, 2025
pablogsal
commented
Mar 28, 2025
…ions without parentheses Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
AA-Turner
reviewed
Mar 28, 2025
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
picnixz
reviewed
Mar 28, 2025
Wulian233
reviewed
Mar 28, 2025
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
picnixz
reviewed
Mar 29, 2025
vstinner
reviewed
Mar 29, 2025
pablogsal
commented
Mar 31, 2025
pablogsal
commented
Mar 31, 2025
brettcannon
approved these changes
Mar 31, 2025
Member
brettcannon
left a comment
There was a problem hiding this comment.
A suggestion about tweaking the exception message, otherwise LGTM!
Co-authored-by: Brett Cannon <brett@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #131831
📚 Documentation preview 📚: https://cpython-previews--131833.org.readthedocs.build/