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".
This commit is contained in:
Victor Stinner 2020-03-24 18:03:34 +01:00 committed by GitHub
parent 9b8e74ca77
commit 83d46e0622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1756 additions and 1768 deletions

File diff suppressed because it is too large Load diff