Skip to content

bpo-42403: Simplify importlib external bootstrap #23397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2020
Merged

bpo-42403: Simplify importlib external bootstrap #23397

merged 1 commit into from
Nov 19, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 19, 2020

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.

https://bugs.python.org/issue42403

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.
@vstinner vstinner merged commit 3390347 into python:master Nov 19, 2020
@vstinner vstinner deleted the importlib_external branch November 19, 2020 12:43
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants