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

corona10

@vstinner

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".

corona10

brettcannon

@kylotan kylotan mannequin mentioned this pull request

Sep 19, 2022