← 返回首页
gh-104341: Ensure tstate Holding GIL is Always Current by ericsnowcurrently · Pull Request #104436 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-104341: Ensure tstate Holding GIL is Always Current#104436

Draft
ericsnowcurrently wants to merge 2 commits into
python:mainfrom
ericsnowcurrently:gil-holder-is-always-current
Draft

gh-104341: Ensure tstate Holding GIL is Always Current#104436
ericsnowcurrently wants to merge 2 commits into
python:mainfrom
ericsnowcurrently:gil-holder-is-always-current

Conversation

Copy link
Copy Markdown
Member

This change fixes places where we weren't enforcing this constraint. This is worth doing regardless of the impact on gh-104341, though it should have a small impact since it slightly reduces the chance of some remote races.

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.