summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-12-12 19:19:03 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-12-12 19:19:03 (GMT)
commit21e033466ba4712e0b1ade5b5756a1e8ad3dcdac (patch)
treeeb0c98c264e72355e6bec8373e24de263cfaa21e /Lib
parent3603d1858926524eb03bf28a9b2e16052bc58586 (diff)
parent10beb3cfef97d162b49b95c538c69c17a20bc910 (diff)
downloadcpython-21e033466ba4712e0b1ade5b5756a1e8ad3dcdac.zip
cpython-21e033466ba4712e0b1ade5b5756a1e8ad3dcdac.tar.gz
cpython-21e033466ba4712e0b1ade5b5756a1e8ad3dcdac.tar.bz2
Issue #28896: Disable WindowsRegistryFinder by default.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/importlib/_bootstrap_external.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py
index ab43446..9feec50 100644
--- a/Lib/importlib/_bootstrap_external.py
+++ b/Lib/importlib/_bootstrap_external.py
@@ -1440,6 +1440,4 @@ def _install(_bootstrap_module):
_setup(_bootstrap_module)
supported_loaders = _get_supported_file_loaders()
sys.path_hooks.extend([FileFinder.path_hook(*supported_loaders)])
- if _os.__name__ == 'nt':
- sys.meta_path.append(WindowsRegistryFinder)
sys.meta_path.append(PathFinder)