mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
bpo-42403: Simplify importlib external bootstrap (GH-23397)
Simplify the importlib external bootstrap code: importlib._bootstrap_external now uses regular imports to import builtin modules. When it is imported, the builtin __import__() function is already fully working and so can be used to import builtin modules like sys.
This commit is contained in:
parent
7d9d25dbed
commit
3390347aa0
6 changed files with 4516 additions and 4559 deletions
3620
Python/importlib.h
generated
3620
Python/importlib.h
generated
File diff suppressed because it is too large
Load diff
5330
Python/importlib_external.h
generated
5330
Python/importlib_external.h
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue