Author pitrou
Recipients aeros, asvetlov, bquinlan, hniksic, pitrou, torsten
Date 2020-04-14.18:19:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think there's a misunderstanding: "wait_at_exit" will make the *executor* forget about the threads, but Python itself still knows about them, and it waits for them to end at interpreter shutdown.

These threads were daemon threads in 3.8, so your patch indeed works there, but we've made them non-daemon in 3.9, for two reasons:
1) daemon threads are fragile and can crash the interpreter at shutdown
2) they are not supported on subinterpreters
Date User Action Args
2020-04-14 18:19:20pitrousetrecipients: + pitrou, bquinlan, hniksic, asvetlov, torsten, aeros
2020-04-14 18:19:20pitrousetmessageid: <>
2020-04-14 18:19:20pitroulinkissue36780 messages
2020-04-14 18:19:20pitroucreate