mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap
This commit is contained in:
parent
818b1186f9
commit
be7e49fd82
5 changed files with 27 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
import os
|
||||
import sys
|
||||
import imp
|
||||
import importlib
|
||||
import imp
|
||||
import os.path
|
||||
from warnings import warn
|
||||
from types import ModuleType
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue