Author serhiy.storchaka
Recipients miss-islington, serhiy.storchaka, shihai1991, vinay.sajip, vstinner
Date 2020-05-16.19:29:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589657396.53.0.550573284248.issue40275@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-05-16 19:29:56serhiy.storchakasetrecipients: + serhiy.storchaka, vinay.sajip, vstinner, miss-islington, shihai1991
2020-05-16 19:29:56serhiy.storchakasetmessageid: <1589657396.53.0.550573284248.issue40275@roundup.psfhosted.org>
2020-05-16 19:29:56serhiy.storchakalinkissue40275 messages
2020-05-16 19:29:56serhiy.storchakacreate