[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

STINNER Victor report at bugs.python.org
Fri Oct 11 11:36:12 EDT 2019


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

Copy of wmanley's comment:
https://github.com/python/cpython/pull/13948#issuecomment-541076882
"""
This caused a regression for people overriding Thread.join to implement custom thread interruption. See https://stackoverflow.com/questions/50486083/ending-non-daemon-threads-when-shutting-down-an-interactive-python-session
"""

----------

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


More information about the Python-bugs-list mailing list