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 vstinner
Date 2019-11-22.13:27:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
I introduced a workaround to a reference leak in bpo-36854 because _PyImport_Cleanup() doesn't clear modules dictionary in some cases:
https://bugs.python.org/issue36854#msg357160

Maybe _PyImport_Cleanup() should be enhanced to ensure that the dictionary of all modules is cleared when the function exit.
History
Date User Action Args
2019-11-22 13:27:01vstinnersetrecipients: + vstinner
2019-11-22 13:27:01vstinnersetmessageid: <[email protected]>
2019-11-22 13:27:01vstinnerlinkissue38858 messages
2019-11-22 13:27:01vstinnercreate