bpo-40050: Fix importlib._bootstrap_external by vstinner · Pull Request #19135 · python/cpython · GitHub
Skip to content

bpo-40050: Fix importlib._bootstrap_external - #19135

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:importlib_builtins
Mar 24, 2020
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:importlib_builtins

Conversation

@vstinner

@vstinner vstinner commented Mar 24, 2020

Copy link
Copy Markdown
Member

Remove two unused imports: _thread and _weakref. Avoid creating a new
winreg builtin module if it's already available in sys.modules.

The winreg module is now stored as "winreg" rather than "_winreg".

https://bugs.python.org/issue40050

@vstinner

vstinner commented Mar 24, 2020

Copy link
Copy Markdown
Member Author

Comment thread Lib/importlib/_bootstrap_external.py Outdated
Remove two unused imports: _thread and _weakref. Avoid creating a new
winreg builtin module if it's already available in sys.modules.

The winreg module is now stored as "winreg" rather than "_winreg".
@vstinner
vstinner merged commit 83d46e0 into python:master Mar 24, 2020
@vstinner
vstinner deleted the importlib_builtins branch March 24, 2020 17:03
Comment thread Misc/NEWS.d/next/Library/2020-03-24-16-17-20.bpo-40050.6GrOlz.rst
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.

5 participants