This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients barry, brett.cannon, corona10, eric.snow, gvanrossum, jaraco, ncoghlan, steve.dower
Date 2021-10-06.17:38:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm trying to understand the proposed solution, "have _imp.is_frozen() check the module in sys.modules." Does that mean it would do a dict lookup first? Maybe you should do that in the caller instead? importlib/ calls it a few times, but I'm not convinced that all call sites can be called with "os.path" -- do you know which path was taken when this failed?

I worry about the complexity of the importlib bootstrapping mechanism. Grepping through the source for _bootstrap and _bootstrap_external has not given me any understanding of how this works. Do you know if there are docs for this? Or do we just need to ask Brett?
Date User Action Args
2021-10-06 17:38:34gvanrossumsetrecipients: + gvanrossum, barry, brett.cannon, jaraco, ncoghlan, eric.snow, steve.dower, corona10
2021-10-06 17:38:34gvanrossumsetmessageid: <>
2021-10-06 17:38:34gvanrossumlinkissue45272 messages
2021-10-06 17:38:34gvanrossumcreate