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 <1599387166.24.0.227998273967.issue41718@roundup.psfhosted.org>
In-reply-to
Content
> You could save/restore this data only when corresponded modules was imported, like it was done in clear_caches() in refleak.py.

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.
History
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: <1599387166.24.0.227998273967.issue41718@roundup.psfhosted.org>
2020-09-06 10:12:46vstinnerlinkissue41718 messages
2020-09-06 10:12:45vstinnercreate