Message390593
It's not a subprocess bug, per se. It's due to creating the stdout/stderr worker threads from the __del__ finalizer while the interpreter is shutting down. Minimal reproducer, confirmed in both Linux and Windows:
import threading
class C:
def __del__(self):
t = threading.Thread(target=print, args=('spam',), daemon=True)
t.start()
c = C()
#del c # uncomment to prevent hanging |
|
Date |
User |
Action |
Args |
2021-04-09 07:28:49 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower, sylikc |
2021-04-09 07:28:49 | eryksun | set | messageid: <1617953329.01.0.712698519941.issue43784@roundup.psfhosted.org> |
2021-04-09 07:28:48 | eryksun | link | issue43784 messages |
2021-04-09 07:28:48 | eryksun | create | |
|