This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smurfix
Recipients smurfix
Date 2018-02-15.14:12:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518703962.74.0.467229070634.issue32850@psf.upfronthosting.co.za>
In-reply-to
Content
Upon further consideration (and following the observation that my test cases no longer block for two seconds each after applying the first version of this patch): we do not want to clear the reference to "dangling_threads" since that's a weakset. We want to clear the "thread" variable, which holds a reference to a random member of that set, which will arbitrarily block the cleanup loop from ever succeeding.

Updated patch attached.
History
Date User Action Args
2018-02-15 14:12:42smurfixsetrecipients: + smurfix
2018-02-15 14:12:42smurfixsetmessageid: <1518703962.74.0.467229070634.issue32850@psf.upfronthosting.co.za>
2018-02-15 14:12:42smurfixlinkissue32850 messages
2018-02-15 14:12:42smurfixcreate