bpo-40050: Fix importlib._bootstrap_external (GH-19135) · python/cpython@83d46e0 · GitHub
Skip to content

Commit 83d46e0

Browse files
authored
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".
1 parent 9b8e74c commit 83d46e0

3 files changed

Lines changed: 1745 additions & 1757 deletions

File tree

Lib/importlib/_bootstrap_external.py

Lines changed: 13 additions & 21 deletions
Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)