Message376462
| 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. |
|