Skip to content

gh-133999: Fix except parsing regression in 3.14 - #134035

Merged
sobolevn merged 1 commit into
python:mainfrom
sobolevn:issue-133999
May 17, 2025
Merged

sobolevn merged 1 commit into
python:mainfrom
sobolevn:issue-133999

Conversation

@sobolevn

@sobolevn sobolevn commented May 15, 2025 •

Copy link
Copy Markdown
Member

Basically, we only need to parse as a=expression second-pass case, when block can be parsed further. Otherwise, it is a problem with block, not except

@sobolevn
sobolevn merged commit 84914ad into python:main May 17, 2025
@sobolevn

Copy link
Copy Markdown
Member Author

Thanks, @pablogsal

@encukou encukou added the needs backport to 3.14 bugs and security fixes label May 19, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 19, 2025
…4035)

(cherry picked from commit 84914ad)

Co-authored-by: sobolevn <mail@sobolevn.me>
@bedevere-app

bedevere-app Bot commented May 19, 2025

Copy link
Copy Markdown

GH-134206 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 19, 2025
sobolevn added a commit that referenced this pull request May 19, 2025
…#134206)

gh-133999: Fix `except` parsing regression in 3.14 (GH-134035)
(cherry picked from commit 84914ad)

Co-authored-by: sobolevn <mail@sobolevn.me>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants