Home
last modified time | relevance | path

Searched refs:fqname (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Lib/
Dimputil.py86 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 …]
Dmodulefinder.py271 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 …]
Dihooks.py510 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/
Dmodulefinder.py300 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/
Dimputil.rst46 .. 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/
Ddynload_beos.c157 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
251 beos_add_dyn( fqname, the_id ); in _PyImport_GetDynLoadFunc()
Ddynload_dl.c19 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_atheos.c17 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_os2.c18 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_hpux.c22 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_next.c34 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_shlib.c69 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
Ddynload_win.c166 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, argument
Ddynload_aix.c157 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
/external/python/cpython2/RISCOS/Python/
Ddynload_riscos.c50 dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname, in _PyImport_GetDynLoadFunc() argument
/external/python/cpython3/Lib/test/
Dtest_modulefinder.py429 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.c152 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()