8000 gh-135532: fortify DEBUG checks when fetching HACL*-based module state by picnixz · Pull Request #135844 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135532: fortify DEBUG checks when fetching HACL*-based module state #135844

8000 New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

picnixz
Copy link
Member
@picnixz picnixz commented Jun 23, 2025

@picnixz picnixz requested review from gpshead and tiran as code owners June 23, 2025 10:48
@picnixz picnixz added the type-refactor Code refactoring (with no changes in behavior) label Jun 23, 2025
@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz
Copy link
Member Author
picnixz commented Jun 27, 2025

I'm tempted to merge this one, but at the same time, I'm tempted to have a more generic helper for such checks so that we can add it to every module that assumes _PyType_GetModuleState is safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review skip news type-refactor Code refactoring (with no changes in behavior)
4551
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0