Lines Matching refs:imp
189 global imp
192 imp = importlib.import_module('imp')
206 global imp
223 file, filename, etc = imp.find_module(subname, path)
287 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
302 if mod_type==imp.PY_SOURCE:
304 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
317 return self.etc[2]==imp.PKG_DIRECTORY
323 if mod_type==imp.PY_SOURCE:
326 elif mod_type==imp.PY_COMPILED:
332 elif mod_type==imp.PKG_DIRECTORY:
340 if mod_type==imp.PY_SOURCE:
346 elif mod_type==imp.PY_COMPILED:
350 elif mod_type==imp.PKG_DIRECTORY:
362 if mod_type==imp.PKG_DIRECTORY:
364 elif mod_type in (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):