Issue #28896: Disable WindowsRegistryFinder by default.

This commit is contained in:
Steve Dower 2016-12-12 11:17:59 -08:00
parent 452b3a6a3e
commit 10beb3cfef
5 changed files with 83 additions and 77 deletions

View file

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