equal
deleted
inserted
replaced
44 self.loader.exec_module(module) |
44 self.loader.exec_module(module) |
45 else: |
45 else: |
46 super().exec_module(module) |
46 super().exec_module(module) |
47 |
47 |
48 # This is 3.6+ because with Python 3.5 it isn't possible to lazily load |
48 # This is 3.6+ because with Python 3.5 it isn't possible to lazily load |
49 # extensions. See the discussion in https://python.org/sf/26186 for more. |
49 # extensions. See the discussion in https://bugs.python.org/issue26186 for more. |
50 _extensions_loader = _lazyloaderex.factory( |
50 _extensions_loader = _lazyloaderex.factory( |
51 importlib.machinery.ExtensionFileLoader) |
51 importlib.machinery.ExtensionFileLoader) |
52 _bytecode_loader = _lazyloaderex.factory( |
52 _bytecode_loader = _lazyloaderex.factory( |
53 importlib.machinery.SourcelessFileLoader) |
53 importlib.machinery.SourcelessFileLoader) |
54 _source_loader = _lazyloaderex.factory(importlib.machinery.SourceFileLoader) |
54 _source_loader = _lazyloaderex.factory(importlib.machinery.SourceFileLoader) |