Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
@pablogsal
Copy link
Member Author

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

Doc/reference/compound_stmts.rst Outdated Show resolved Hide resolved
Doc/reference/compound_stmts.rst Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/reference/compound_stmts.rst Show resolved Hide resolved
…ions without parentheses

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Lib/test/test_grammar.py Show resolved Hide resolved
pablogsal and others added 3 commits March 28, 2025 18:57
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
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!

Lib/test/test_syntax.py Outdated Show resolved Hide resolved
pablogsal and others added 2 commits March 31, 2025 20:14
Co-authored-by: Brett Cannon <brett@python.org>
@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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.