Skip to content

gh-156466: fix cleanup on error after Enter in codegen_enter_scope - #156467

Open
iritkatriel wants to merge 1 commit into
python:mainfrom
iritkatriel:gh-156466-1
Open

gh-156466: fix cleanup on error after Enter in codegen_enter_scope#156467
iritkatriel wants to merge 1 commit into
python:mainfrom
iritkatriel:gh-156466-1

Conversation

@iritkatriel

@iritkatriel iritkatriel commented Aug 27, 2026

Copy link
Copy Markdown
Member

If codegen_enter_scope errors after _PyCompile_EnterScope, it should exit the scope before returning ERROR.

@iritkatriel iritkatriel added 3.14 bugs and security fixes 3.15 pre-release feature fixes, bugs and security fixes 3.16 new features, bugs and security fixes skip news labels Aug 27, 2026
@picnixz picnixz added needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes and removed 3.14 bugs and security fixes 3.15 pre-release feature fixes, bugs and security fixes 3.16 new features, bugs and security fixes labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants