]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40050: Fix importlib._bootstrap_external (GH-19135)
authorVictor Stinner <vstinner@python.org>
Tue, 24 Mar 2020 17:03:34 +0000 (18:03 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2020 17:03:34 +0000 (18:03 +0100)
commit83d46e0622d2efdf5f3bf8bf8904d0dcb55fc322
tree902e9867f805e6a67ad3a66cf928c7023afeec23
parent9b8e74ca77da7167033917d155e5f55c67b92f14
bpo-40050: Fix importlib._bootstrap_external (GH-19135)

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".
Lib/importlib/_bootstrap_external.py
Misc/NEWS.d/next/Library/2020-03-24-16-17-20.bpo-40050.6GrOlz.rst [new file with mode: 0644]
Python/importlib_external.h