Issue #2377: Make importlib the implementation of __import__().
importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__().
Showing
Python/freeze_importlib.py
0 → 100644
Python/importlib.h
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment