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 pablogsal, serhiy.storchaka, shihai1991, terry.reedy, vstinner, zach.ware
Date 2020-09-06.10:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> You could save/restore this data only when corresponded modules was imported, like it was done in clear_caches() in

It was my first idea, but some large modules like multiprocessing and asyncio are only imported by tested when the test file is imported, whereas save_environment() is called (__enter__) before the import in libregrtest.runtest.
Date User Action Args
2020-09-06 10:12:46vstinnersetrecipients: + vstinner, terry.reedy, zach.ware, serhiy.storchaka, pablogsal, shihai1991
2020-09-06 10:12:46vstinnersetmessageid: <>
2020-09-06 10:12:46vstinnerlinkissue41718 messages
2020-09-06 10:12:45vstinnercreate