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 eric.snow
Recipients barry, brett.cannon, eric.snow
Date 2021-09-15.17:42:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631727732.79.0.742484624179.issue45213@roundup.psfhosted.org>
In-reply-to
Content
When looking up a frozen modules, we loop over the array of frozen modules until we find a match (or don't).  See find_frozen() in Python/import.c.  The frozen importer sits right after the builtin importer and right before the file-based importer.  This means the import system does that frozen module lookup every time import happens (where it isn't a builtin module), even if it's a source module.
History
Date User Action Args
2021-09-15 17:42:12eric.snowsetrecipients: + eric.snow, barry, brett.cannon
2021-09-15 17:42:12eric.snowsetmessageid: <1631727732.79.0.742484624179.issue45213@roundup.psfhosted.org>
2021-09-15 17:42:12eric.snowlinkissue45213 messages
2021-09-15 17:42:12eric.snowcreate