mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Issue #28896: Disable WindowsRegistryFinder by default.
This commit is contained in:
parent
452b3a6a3e
commit
10beb3cfef
5 changed files with 83 additions and 77 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue