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 vstinner
Recipients ned.deily, pitrou, vstinner
Date 2017-10-19.13:32:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The current code leaks memory since it never clears threads which completed. We need a cleanup function similar to ForkingMixIn.collect_children() which is called by handle_timeout() and service_actions().

We can check if a thread is alive: thread.is_alive(), to decide to remove it or not.

Moreover, maybe we should keep a list of weak references?
Date User Action Args
2017-10-19 13:32:28vstinnersetrecipients: + vstinner, pitrou, ned.deily
2017-10-19 13:32:28vstinnersetmessageid: <>
2017-10-19 13:32:28vstinnerlinkissue31233 messages
2017-10-19 13:32:28vstinnercreate