[Python-Dev] importlib is now bootstrapped (and what that means)

Eric V. Smith eric at trueblade.com
Fri Apr 20 15:54:28 CEST 2012


On 04/14/2012 02:12 PM, Brett Cannon wrote:
> My multi-year project -- started in 2006 according to my blog -- to
> rewrite import in pure Python and then bootstrap it into CPython as
> *the* implementation of __import__() is finally over (mostly)!

Maybe I'm missing something, but it seems that I need to run
importlib._bootstrap._install(sys, _imp) manually in order to make
__import__ be importlib's version. Is that not supposed to happen
automatically?

Eric.


More information about the Python-Dev mailing list