diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2016-12-12 19:17:59 (GMT) |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-12 19:17:59 (GMT) |
| commit | 10beb3cfef97d162b49b95c538c69c17a20bc910 (patch) | |
| tree | 313bcc04cd62c40998c4da5f48a01533a981ee2a /Lib/importlib/_bootstrap_external.py | |
| parent | 452b3a6a3e9e4ca99d9c6caff367fce749a7ec58 (diff) | |
| download | cpython-10beb3cfef97d162b49b95c538c69c17a20bc910.zip cpython-10beb3cfef97d162b49b95c538c69c17a20bc910.tar.gz cpython-10beb3cfef97d162b49b95c538c69c17a20bc910.tar.bz2 | |
Issue #28896: Disable WindowsRegistryFinder by default.
Diffstat (limited to 'Lib/importlib/_bootstrap_external.py')
| -rw-r--r-- | Lib/importlib/_bootstrap_external.py | 2 |
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) |
