KEMBAR78
gh-120161: Clean Up the Managed Static Types State by ericsnowcurrently · Pull Request #120663 · python/cpython · GitHub
Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jun 17, 2024

In gh-120182, the approach I took aimed to fix the problem with minimal churn, for the sake of backporting. This change builds on that with what I consider the cleaner approach I would have taken.

The key changes are:

  • move more data into the global runtime state
  • at the interpreter level, consolidate the builtins and extensions state
  • add many more asserts to ensure consistency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant