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 ncoghlan
Recipients brett.cannon, eric.snow, ncoghlan, pitrou, serhiy.storchaka
Date 2014-10-05.13:37:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412516256.5.0.62715195966.issue22557@psf.upfronthosting.co.za>
In-reply-to
Content
__import__ is intended as an absolute override (including of the sys.modules cache lookup), so we can't bypass it without breaking backwards compatibility.

It's possible there is room for other optimisations that don't break the import override semantics (such as a fast path for when __import__ is the standard import function).
History
Date User Action Args
2014-10-05 13:37:36ncoghlansetrecipients: + ncoghlan, brett.cannon, pitrou, eric.snow, serhiy.storchaka
2014-10-05 13:37:36ncoghlansetmessageid: <1412516256.5.0.62715195966.issue22557@psf.upfronthosting.co.za>
2014-10-05 13:37:36ncoghlanlinkissue22557 messages
2014-10-05 13:37:36ncoghlancreate