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 brett.cannon
Recipients Trundle, benjamin.peterson, brett.cannon, eric.araujo, eric.snow, vstinner
Date 2012-02-16.23:16:17
SpamBayes Score 3.1426804e-08
Marked as misclassified No
Message-id <1329434178.77.0.166704486443.issue2377@psf.upfronthosting.co.za>
In-reply-to
Content
Just a quick update. I have refactored importlib in the cpython repo to allow for implementing bits of importlib.__import__() and importlib._gcd_import() in C. This means that the built-in __import__() is now calling importlib underneath the covers. Eventually what is in importlib.__import__() and _gcd_import() directly will be translated into the equivalent C code. This will speed up accessing sys.modules. After that whatever is deemed on the critical path and worth rewriting in C can be done function by function. That, though, should wait for Python-level profiling and optimization before wasting one's time.
History
Date User Action Args
2012-02-16 23:16:18brett.cannonsetrecipients: + brett.cannon, vstinner, benjamin.peterson, eric.araujo, Trundle, eric.snow
2012-02-16 23:16:18brett.cannonsetmessageid: <1329434178.77.0.166704486443.issue2377@psf.upfronthosting.co.za>
2012-02-16 23:16:18brett.cannonlinkissue2377 messages
2012-02-16 23:16:17brett.cannoncreate