SIGN IN SIGN UP

bpo-19466: Py_Finalize() clears daemon threads earlier (GH-18848)

Clear the frames of daemon threads earlier during the Python shutdown to
call objects destructors. So "unclosed file" resource warnings are now
emitted for daemon threads in a more reliable way.

Cleanup _PyThreadState_DeleteExcept() code: rename "garbage" to
"list".
V
Victor Stinner committed
9ad58acbe8b90b4d0f2d2e139e38bb5aa32b7fb6
Parent: 8e9c47a
Committed by GitHub <noreply@github.com> on 3/9/2020, 10:37:49 PM