Lines Matching refs:machinery
22 from importlib import machinery
107 extensions = [(s, 'rb', C_EXTENSION) for s in machinery.EXTENSION_SUFFIXES]
108 source = [(s, 'r', PY_SOURCE) for s in machinery.SOURCE_SUFFIXES]
109 bytecode = [(s, 'rb', PY_COMPILED) for s in machinery.BYTECODE_SUFFIXES]
160 class _LoadSourceCompatibility(_HackedGetData, machinery.SourceFileLoader):
174 module.__loader__ = machinery.SourceFileLoader(name, pathname)
202 extensions = (machinery.SOURCE_SUFFIXES[:] +
203 machinery.BYTECODE_SUFFIXES[:])
282 for suffix in ['.py', machinery.BYTECODE_SUFFIXES[0]]:
335 import importlib.machinery
336 loader = importlib.machinery.ExtensionFileLoader(name, path)
340 spec = importlib.machinery.ModuleSpec(