Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(170047)

Delta Between Two Patch Sets: Lib/importlib/_bootstrap_external.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 9 months ago
Right Patch Set: Created 3 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/distutils/tests/test_util.py ('k') | Lib/platform.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 """Core implementation of path-based import. 1 """Core implementation of path-based import.
2 2
3 This module is NOT meant to be directly imported! It has been designed such 3 This module is NOT meant to be directly imported! It has been designed such
4 that it can be bootstrapped into Python as the implementation of import. As 4 that it can be bootstrapped into Python as the implementation of import. As
5 such it requires the injection of specific modules and attributes in order to 5 such it requires the injection of specific modules and attributes in order to
6 work. One should use importlib as the public-facing version of this module. 6 work. One should use importlib as the public-facing version of this module.
7 7
8 """ 8 """
9 # 9 #
10 # IMPORTANT: Whenever making changes to this module, be sure to run 10 # IMPORTANT: Whenever making changes to this module, be sure to run
(...skipping 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 supported_loaders = _get_supported_file_loaders() 1416 supported_loaders = _get_supported_file_loaders()
1417 sys.path_hooks.extend([FileFinder.path_hook(*supported_loaders)]) 1417 sys.path_hooks.extend([FileFinder.path_hook(*supported_loaders)])
1418 if _os.__name__ == 'nt': 1418 if _os.__name__ == 'nt':
1419 sys.meta_path.append(WindowsRegistryFinder) 1419 sys.meta_path.append(WindowsRegistryFinder)
1420 sys.meta_path.append(PathFinder) 1420 sys.meta_path.append(PathFinder)
1421 1421
1422 # XXX We expose a couple of classes in _bootstrap for the sake of 1422 # XXX We expose a couple of classes in _bootstrap for the sake of
1423 # a setuptools bug (https://bitbucket.org/pypa/setuptools/issue/378). 1423 # a setuptools bug (https://bitbucket.org/pypa/setuptools/issue/378).
1424 _bootstrap_module.FileFinder = FileFinder 1424 _bootstrap_module.FileFinder = FileFinder
1425 _bootstrap_module.SourceFileLoader = SourceFileLoader 1425 _bootstrap_module.SourceFileLoader = SourceFileLoader
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+