Skip to content

[3.14] gh-131927: Do not emit PEP 765 warnings in ast.parse() (GH-139642) - #140786

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-ad0a3f7-3.14
Oct 30, 2025
Merged

serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-ad0a3f7-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 30, 2025 •

Copy link
Copy Markdown
Contributor

ast.parse() no longer emits syntax warnings for
return/break/continue in finally (see PEP-765) -- they are only
emitted during compilation.
(cherry picked from commit ad0a3f7)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…H-139642)

ast.parse() no longer emits syntax warnings for
return/break/continue in finally (see PEP-765) -- they are only
emitted during compilation.
(cherry picked from commit ad0a3f7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants