Author serhiy.storchaka
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2018-04-09.16:26:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523291189.17.0.682650639539.issue33237@psf.upfronthosting.co.za>
In-reply-to
Content
I have applied the Nick's suggestion. Needed to find a place for new test.

The code is copied from PyImport_ImportModuleLevelObject(). I'm not happy from how verbose it is. And testing mod.__spec__._initialized adds relatively large overhead for importing already imported module in PyImport_ImportModuleLevelObject(). Is it possible to invent a faster way for checking whether the module is partially imported?
History
Date User Action Args
2018-04-09 16:26:29serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow
2018-04-09 16:26:29serhiy.storchakasetmessageid: <1523291189.17.0.682650639539.issue33237@psf.upfronthosting.co.za>
2018-04-09 16:26:29serhiy.storchakalinkissue33237 messages
2018-04-09 16:26:29serhiy.storchakacreate