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:
Nick Coghlan 2012-07-20 23:40:09 +10:00
parent 818b1186f9
commit be7e49fd82
5 changed files with 27 additions and 5 deletions

View file

@ -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