[issue42263] Removing thread reference in thread results in leaked reference

Martin Panter report at bugs.python.org
Wed Nov 4 20:05:18 EST 2020


Martin Panter <vadmium+py at gmail.com> added the comment:

Maybe this is related to (or duplicate of) Issue 37788? Python 3.7 has a regression where threads that are never joined cause leaks; previous code was written assuming you didn't need to join threads.

Do you still see the leak even if you don't clear the "threads" list (change the target to a no-op), or if you never create a list in the first place?

----------

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


More information about the Python-bugs-list mailing list