]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549)
authorVictor Stinner <vstinner@python.org>
Mon, 27 Sep 2021 21:09:00 +0000 (23:09 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Sep 2021 21:09:00 +0000 (23:09 +0200)
commit95d31370829b7d729667588e0a9943217401ea5b
tree25ca05eebdc3372c579135c533b5601d27552d85
parent20f439b6b9e1032930a31b88694ab9f37a09e6b4
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.
Lib/test/test_threading.py
Lib/threading.py
Misc/NEWS.d/next/Library/2021-09-24-17-20-23.bpo-1596321.3nhPUk.rst [new file with mode: 0644]