Skip to content

fix blockguard build on Python 3.10, improve reliability#5157

Open
theomonnom wants to merge 9 commits intomainfrom
theo/blockguard-fixes
Open

fix blockguard build on Python 3.10, improve reliability#5157
theomonnom wants to merge 9 commits intomainfrom
theo/blockguard-fixes

Conversation

@theomonnom
Copy link
Member

No description provided.

…ransparency

- include frameobject.h for PyFrame_GetBack on Python 3.10
- add Py_MOD_GIL_NOT_USED for free-threaded Python 3.13t/3.14t
- use multi-phase module init for Py_mod_gil slot support
- fix use-after-free in snap_is_idle_select (decref before use of borrowed pointers)
- broaden idle detection to cover both selector and proactor event loops
- remove noisy startup/shutdown stderr messages
- add free-threaded concurrency stress tests
- test across Python 3.10-3.14 including free-threaded variants
@chenghao-mou chenghao-mou requested a review from a team March 19, 2026 03:55
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@theomonnom theomonnom changed the title fix blockguard for free-threaded Python and 3.10 build fix blockguard build on Python 3.10, improve reliability Mar 19, 2026
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