Author vstinner
Recipients Arkady M, ViktorPegy, Zhipeng Xie, anselm.kruis, jaraco, koobs, krypticus, mark.dickinson, martin.panter, miss-islington, pablogsal, pitrou, python-dev, shihai1991, vstinner
Date 2021-05-25.09:57:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621936679.63.0.261717101773.issue37788@roundup.psfhosted.org>
In-reply-to
Content
Fix in the main branch:

commit c10c2ec7a0e06975e8010c56c9c3270f8ea322ec
Author: Antoine Pitrou <antoine@python.org>
Date:   Fri May 14 21:37:20 2021 +0200

    bpo-37788: Fix reference leak when Thread is never joined (GH-26103)
    
    
    
    When a Thread is not joined after it has stopped, its lock may remain in the _shutdown_locks set until interpreter shutdown.  If many threads are created this way, the _shutdown_locks set could therefore grow endlessly.  To avoid such a situation, purge expired locks each time a new one is added or removed.
History
Date User Action Args
2021-05-25 09:57:59vstinnersetrecipients: + vstinner, mark.dickinson, jaraco, pitrou, python-dev, martin.panter, koobs, anselm.kruis, pablogsal, miss-islington, shihai1991, Zhipeng Xie, krypticus, Arkady M, ViktorPegy
2021-05-25 09:57:59vstinnersetmessageid: <1621936679.63.0.261717101773.issue37788@roundup.psfhosted.org>
2021-05-25 09:57:59vstinnerlinkissue37788 messages
2021-05-25 09:57:59vstinnercreate