/external/python/cpython2/Lib/ |
D | imputil.py | 86 def _import_hook(self, fqname, globals=None, locals=None, fromlist=None): argument 89 parts = fqname.split('.') 109 raise ImportError, 'No module named ' + fqname 147 raise ImportError, 'No module named ' + fqname 263 def _import_one(self, parent, modname, fqname): argument 268 return sys.modules[fqname] 273 result = self.get_code(parent, modname, fqname) 277 module = self._process_result(result, fqname) 284 def _process_result(self, result, fqname): argument 293 module = imp.new_module(fqname) [all …]
|
D | modulefinder.py | 271 def import_module(self, partname, fqname, parent): argument 272 self.msgin(3, "import_module", partname, fqname, parent) 274 m = self.modules[fqname] 280 if fqname in self.badmodules: 293 m = self.load_module(fqname, fp, pathname, stuff) 301 def load_module(self, fqname, fp, pathname, file_info): argument 303 self.msgin(2, "load_module", fqname, fp and "fp", pathname) 305 m = self.load_package(fqname, pathname) 318 m = self.add_module(fqname) 455 def load_package(self, fqname, pathname): argument [all …]
|
D | ihooks.py | 510 def import_it(self, partname, fqname, parent, force_load=0): argument 517 return self.modules[fqname] 528 fqname = str(fqname) 529 m = self.loader.load_module(fqname, stuff)
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 300 def import_module(self, partname, fqname, parent): argument 301 self.msgin(3, "import_module", partname, fqname, parent) 303 m = self.modules[fqname] 309 if fqname in self.badmodules: 323 m = self.load_module(fqname, fp, pathname, stuff) 332 def load_module(self, fqname, fp, pathname, file_info): argument 334 self.msgin(2, "load_module", fqname, fp and "fp", pathname) 336 m = self.load_package(fqname, pathname) 344 importlib._bootstrap_external._classify_pyc(data, fqname, {}) 351 m = self.add_module(fqname) [all …]
|
/external/python/cpython2/Doc/library/ |
D | imputil.rst | 46 .. method:: Importer.get_code(parent, modname, fqname) 55 *fqname* specifies the fully-qualified module name. This is a 59 If there is no parent, then modname==fqname. 85 .. method:: BuiltinImporter.get_code(parent, modname, fqname) 89 .. function:: py_suffix_importer(filename, finfo, fqname) 97 .. method:: DynLoadSuffixImporter.import_file(filename, finfo, fqname) 194 def import_module(partname, fqname, parent): 196 return sys.modules[fqname] 205 m = imp.load_module(fqname, fp, pathname, stuff)
|
/external/python/cpython2/Python/ |
D | dynload_beos.c | 157 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument 251 beos_add_dyn( fqname, the_id ); in _PyImport_GetDynLoadFunc()
|
D | dynload_dl.c | 19 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_atheos.c | 17 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_os2.c | 18 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_hpux.c | 22 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_next.c | 34 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_shlib.c | 69 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
D | dynload_win.c | 166 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, argument
|
D | dynload_aix.c | 157 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
/external/python/cpython2/RISCOS/Python/ |
D | dynload_riscos.c | 50 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 429 def load_module(self, fqname, fp, pathname, file_info): argument 432 return super().load_module(fqname, fp, pathname, file_info)
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 152 const char *fqname; /* fully qualified name */ member 615 n[i] = cm->fqname; in signaldict_repr() 5803 ASSIGN_PTR(cm->ex, PyErr_NewException(cm->fqname, base, NULL)); in PyInit__decimal() 5835 ASSIGN_PTR(cm->ex, PyErr_NewException(cm->fqname, base, NULL)); in PyInit__decimal()
|