Skip to content

Conversation

@tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Apr 11, 2025

This issue boils down to a different branch being taken in _PyEval_LoadGlobalStackRef when a dict subclass is passed to exec globals. There is one case where the stack ref is not set to PyStackRef_NULL which causes the abort.

@Fidget-Spinner Fidget-Spinner merged commit e6ef47a into python:main Apr 11, 2025
54 checks passed
@tomasr8 tomasr8 deleted the fix-exec-dict-subclass branch April 11, 2025 21:07
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.

2 participants