[3.11] gh-106883 Fix deadlock in threaded application by diegorusso · Pull Request #117332 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions Lib/test/test_sys.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable GC during the _PyThread_CurrentFrames() and _PyThread_CurrentExceptions() calls to avoid the interpreter to deadlock.
18 changes: 18 additions & 0 deletions Python/pystate.c