summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap.py
diff options
context:
space:
mode:
authorMarc-Andre Lemburg <mal@egenix.com>2012-04-25 00:11:07 (GMT)
committerMarc-Andre Lemburg <mal@egenix.com>2012-04-25 00:11:07 (GMT)
commitac8805a01a0beeb4c5b2f6d9d988629446517632 (patch)
tree508e1844c0372f19b7bcdbf22d9aeb7de1635ca6 /Lib/importlib/_bootstrap.py
parent2945e78b05b8629969764842f73a845c1cbb2fb9 (diff)
downloadcpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.zip
cpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.tar.gz
cpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.tar.bz2
Issue #14605: Revert renaming of _SourcelessFileLoader, since it caused
the buildbots to fail.
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-rw-r--r--Lib/importlib/_bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 817fe39..d9df2b7 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -671,7 +671,7 @@ class SourceFileLoader(FileLoader, SourceLoader):
pass
-class SourcelessFileLoader(FileLoader, _LoaderBasics):
+class _SourcelessFileLoader(FileLoader, _LoaderBasics):
"""Loader which handles sourceless file imports."""
@@ -1198,7 +1198,7 @@ def _setup(sys_module, _imp_module):
supported_loaders = [(ExtensionFileLoader, _suffix_list(3), False),
(SourceFileLoader, _suffix_list(1), True),
- (SourcelessFileLoader, _suffix_list(2), True)]
+ (_SourcelessFileLoader, _suffix_list(2), True)]
setattr(self_module, '_DEFAULT_PATH_HOOK',
FileFinder.path_hook(*supported_loaders))