commit | 38c67738c64304928c68d5c2bd78bbb01d979b94 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Sep 27 14:39:35 2021 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 27 14:39:35 2021 -0700 |
tree | 0a1357604728fce7834e35e1fa0a495db87d59b9 | |
parent | c7fdd6879b5c8447ee65b1bec95a1db43837a7a5 [diff] |
bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549) Fix the threading._shutdown() function when the threading module was imported first from a thread different than the main thread: no longer log an error at Python exit. (cherry picked from commit 95d31370829b7d729667588e0a9943217401ea5b) Co-authored-by: Victor Stinner <vstinner@python.org>