Skip to content

gh-136003: Skip non-daemon threads when exceptions occur during finalization#139129

Merged
ZeroIntensity merged 4 commits intopython:mainfrom
ZeroIntensity:fix-threading-interrupt
Sep 18, 2025
Merged

gh-136003: Skip non-daemon threads when exceptions occur during finalization#139129
ZeroIntensity merged 4 commits intopython:mainfrom
ZeroIntensity:fix-threading-interrupt

Conversation

@ZeroIntensity
Copy link
Member

@ZeroIntensity ZeroIntensity commented Sep 18, 2025

During finalization, we need to mark all non-daemon threads as daemon to quickly shut down threads when sending CTRL^C to the process. This was a minor regression from GH-136004.

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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants