Skip to content

Conversation

@iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Feb 12, 2024

Fixes #115376.

The mess is that compiler_codegen enters a scope and then sometimes exits is and sometimes not. After this PR the caller is responsible for entering and existing the scope.

Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

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

Looks good

@iritkatriel iritkatriel merged commit 3a9e67a into python:main Feb 15, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull request Jan 22, 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.

_testinternalcapi.compiler_codegen segfaults on bad input

2 participants