Skip to content

gh-131831: Implement PEP 758 – Allow except and except* expressions without parentheses #131833

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

Merged
merged 10 commits into from
Apr 1, 2025

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Mar 28, 2025

@pablogsal
Copy link
Member Author

I am missing a test for test_syntax that for some reason didn't committed. Will fix soon

Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
Copy link
Member

@brettcannon brettcannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A suggestion about tweaking the exception message, otherwise LGTM!

@pablogsal pablogsal enabled auto-merge (squash) March 31, 2025 19:17
@pablogsal pablogsal merged commit c2ac662 into python:main Apr 1, 2025
42 checks passed
@pablogsal pablogsal deleted the notuples branch April 1, 2025 19:04
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement PEP 758 – Allow except and except* expressions without parentheses
8 participants