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 serhiy.storchaka
Recipients qingyunha, serhiy.storchaka
Date 2018-05-17.14:28:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526567291.59.0.682650639539.issue33538@psf.upfronthosting.co.za>
In-reply-to
Content
It is in PyImport_Cleanup() in Python/import.c. Search PyObject_SetItem(modules, name, Py_None).

If you will run Python with the -v option you will see numerous messages "# cleanup[2] removing ..." emitted on stderr.
History
Date User Action Args
2018-05-17 14:28:11serhiy.storchakasetrecipients: + serhiy.storchaka, qingyunha
2018-05-17 14:28:11serhiy.storchakasetmessageid: <1526567291.59.0.682650639539.issue33538@psf.upfronthosting.co.za>
2018-05-17 14:28:11serhiy.storchakalinkissue33538 messages
2018-05-17 14:28:11serhiy.storchakacreate