summaryrefslogtreecommitdiffstats
path: root/Lib/pkgutil.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-20 13:40:09 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-20 13:40:09 (GMT)
commitbe7e49fd820318509cd8b4dbde479c552f74ef62 (patch)
tree856c3693092233495f1ecadbd90c0b7e085cc70d /Lib/pkgutil.py
parent818b1186f9459646a4ad7015ed45ce9dfea0fa55 (diff)
downloadcpython-be7e49fd820318509cd8b4dbde479c552f74ef62.zip
cpython-be7e49fd820318509cd8b4dbde479c552f74ef62.tar.gz
cpython-be7e49fd820318509cd8b4dbde479c552f74ef62.tar.bz2
Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap
Diffstat (limited to 'Lib/pkgutil.py')
-rw-r--r--Lib/pkgutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py
index 8407b6d..8bdeb32 100644
--- a/Lib/pkgutil.py
+++ b/Lib/pkgutil.py
@@ -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