Message228565
| 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). |
|