commit | 9ad58acbe8b90b4d0f2d2e139e38bb5aa32b7fb6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Mon Mar 09 23:37:49 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Mar 09 23:37:49 2020 +0100 |
tree | 7678fd0af5dc8c6922aee830e7f5b106dae23539 | |
parent | 8e9c47a947954c997d4b725f4551d50a1d896722 [diff] |
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".