Matthew Smith <mel...@orangepalantir.org> added the comment:
This issue also affects me, pyth. I tried it out with various combinations of sleep, and durations of tasks, but what I noticed is that threading_shutdown_locks continues to grow at each iteration. for i in range(100000): for j in range(10): timer = threading.Thread(target = callback) timer.start() time.sleep(1) print(len(threading._shutdown_locks)) If I accumulate the Timer/Thread s and join them, then the _shutdown_locks will be cleared. ---------- nosy: +odinsbane _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39201> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com