[issue42647] Unable to use concurrent.futures in atexit hook
Irit Katriel
report at bugs.python.org
Sun Jan 24 11:24:51 EST 2021
Irit Katriel <iritkatriel at yahoo.com> added the comment:
b61b818d916942aad1f8f3e33181801c4a1ed14b is the first bad commit
commit b61b818d916942aad1f8f3e33181801c4a1ed14b
Author: Kyle Stanley <aeros167 at gmail.com>
Date: Fri Mar 27 15:31:22 2020 -0400
bpo-39812: Remove daemon threads in concurrent.futures (GH-19149)
Remove daemon threads from :mod:`concurrent.futures` by adding
an internal `threading._register_atexit()`, which calls registered functions
prior to joining all non-daemon threads. This allows for compatibility
with subinterpreters, which don't support daemon threads.
----------
nosy: +iritkatriel
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42647>
_______________________________________
More information about the Python-bugs-list
mailing list