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

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

Issue 19413: Reload semantics changed unexpectedly in Python 3.3
Left Patch Set: Created 6 years, 3 months ago
Right Patch Set: Created 6 years, 3 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 | « no previous file | Lib/importlib/__init__.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 import. 1 """Core implementation of 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 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 def _install(sys_module, _imp_module): 1802 def _install(sys_module, _imp_module):
1803 """Install importlib as the implementation of import.""" 1803 """Install importlib as the implementation of import."""
1804 _setup(sys_module, _imp_module) 1804 _setup(sys_module, _imp_module)
1805 supported_loaders = _get_supported_file_loaders() 1805 supported_loaders = _get_supported_file_loaders()
1806 sys.path_hooks.extend([FileFinder.path_hook(*supported_loaders)]) 1806 sys.path_hooks.extend([FileFinder.path_hook(*supported_loaders)])
1807 sys.meta_path.append(BuiltinImporter) 1807 sys.meta_path.append(BuiltinImporter)
1808 sys.meta_path.append(FrozenImporter) 1808 sys.meta_path.append(FrozenImporter)
1809 if _os.__name__ == 'nt': 1809 if _os.__name__ == 'nt':
1810 sys.meta_path.append(WindowsRegistryFinder) 1810 sys.meta_path.append(WindowsRegistryFinder)
1811 sys.meta_path.append(PathFinder) 1811 sys.meta_path.append(PathFinder)
LEFTRIGHT

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