Message416876
I think this is causing a regression for code that explicitly desires the ThreadPoolExecutor to go away abruptly when all other non-daemon threads complete (by choosing not to use a with statement, and if shutdown is called, calling it with wait=False, or even with those conditions, by creating it from a daemon thread of its own).
It doesn't seem like it's necessary, since the motivation was "subinterpreters forbid daemon threads" and the same release that contained this change (3.9.0alpha6) also contained #40234's change that backed out the change that forbade spawning daemon threads in subinterpreters (because they now support them by default). If the conflicts with some uses of subinterpreters that make it necessary to use non-daemon threads, could that be made a configurable option (ideally defaulting to the pre-3.9 choice to use daemon threads)? |
|
Date |
User |
Action |
Args |
2022-04-06 15:15:35 | josh.r | unlink | issue39812 messages |
2022-04-06 15:13:34 | josh.r | set | recipients:
+ josh.r, pitrou, tomMoral, aeros, janfrederik.konopka, jack__d |
2022-04-06 15:13:34 | josh.r | set | messageid: <1649258014.29.0.478094956174.issue39812@roundup.psfhosted.org> |
2022-04-06 15:13:34 | josh.r | link | issue39812 messages |
2022-04-06 15:13:34 | josh.r | create | |
|