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 BTaskaya, arekm, gaborjbernat, miss-islington, pablogsal, vstinner
Date 2020-03-20.17:58:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584727096.74.0.0634473407197.issue39360@roundup.psfhosted.org>
In-reply-to
Content
If you want to get a reliable behavior, don't rely on destructors. Python finalization is not determistic and destructors can be called while Python is not longer fully functional.

Release ressources explicitly. For example, use multiprocessing.Pool with a context manager, or even call close() and join() methods explicitly.
History
Date User Action Args
2020-03-20 17:58:16vstinnersetrecipients: + vstinner, arekm, pablogsal, miss-islington, gaborjbernat, BTaskaya
2020-03-20 17:58:16vstinnersetmessageid: <1584727096.74.0.0634473407197.issue39360@roundup.psfhosted.org>
2020-03-20 17:58:16vstinnerlinkissue39360 messages
2020-03-20 17:58:16vstinnercreate