Message369062
I think that there is no much benefit in avoiding to import modules which are imported in libregrtest. In particular threading, subprocess, tempdir, os, fnmatch, etc. You should minimize import of test.libregrtest + test.support, not just test.support. BTW, libregrtests imports now much more modules than test.support.
Also, some modules, like bz2 are too small and do not have much dependencies. You will not save much on importing them lazily. On other hand, lazy import have its cost, so the real benefit will be even smaller. |
|
Date |
User |
Action |
Args |
2020-05-16 19:29:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vinay.sajip, vstinner, miss-islington, shihai1991 |
2020-05-16 19:29:56 | serhiy.storchaka | set | messageid: <1589657396.53.0.550573284248.issue40275@roundup.psfhosted.org> |
2020-05-16 19:29:56 | serhiy.storchaka | link | issue40275 messages |
2020-05-16 19:29:56 | serhiy.storchaka | create | |
|