diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-27 21:09:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 21:09:00 (GMT) |
commit | 95d31370829b7d729667588e0a9943217401ea5b (patch) | |
tree | 25ca05eebdc3372c579135c533b5601d27552d85 /Misc/NEWS.d/next | |
parent | 20f439b6b9e1032930a31b88694ab9f37a09e6b4 (diff) | |
download | cpython-95d31370829b7d729667588e0a9943217401ea5b.zip cpython-95d31370829b7d729667588e0a9943217401ea5b.tar.gz cpython-95d31370829b7d729667588e0a9943217401ea5b.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-09-24-17-20-23.bpo-1596321.3nhPUk.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-24-17-20-23.bpo-1596321.3nhPUk.rst b/Misc/NEWS.d/next/Library/2021-09-24-17-20-23.bpo-1596321.3nhPUk.rst new file mode 100644 index 0000000..61a3e5a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-09-24-17-20-23.bpo-1596321.3nhPUk.rst @@ -0,0 +1,3 @@ +Fix the :func:`threading._shutdown` function when the :mod:`threading` module +was imported first from a thread different than the main thread: no longer log +an error at Python exit. |