[issue40234] Disallow daemon threads in subinterpreters optionally.

STINNER Victor report at bugs.python.org
Sun Apr 12 20:22:54 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

Victor (me!):
> Well, this large problem sounds very complex and is made of multiple small issues.

Kyle:
> (...) Should we consider making `threading._register_atexit()` public?

It seems like there is an use case for calling callbacks before Python calls threading._shutdown() in Py_Finalize(). We should either change when atexit callbacks are called, or add something new.

I suggest to open a separated issue for that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40234>
_______________________________________


More information about the Python-bugs-list mailing list