Message315136
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? |
|
Date |
User |
Action |
Args |
2018-04-09 16:26:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, eric.snow |
2018-04-09 16:26:29 | serhiy.storchaka | set | messageid: <1523291189.17.0.682650639539.issue33237@psf.upfronthosting.co.za> |
2018-04-09 16:26:29 | serhiy.storchaka | link | issue33237 messages |
2018-04-09 16:26:29 | serhiy.storchaka | create | |
|