Home
last modified time | relevance | path

Searched refs:meta_path (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_importlib.py124 with import_state(meta_path=[mock]):
134 with import_state(meta_path=[mock]):
141 with import_state(meta_path=[mock]):
149 with import_state(meta_path=[mock]):
160 with import_state(meta_path=[mock]):
Dtest_importhooks.py143 self.meta_path = sys.meta_path[:]
150 sys.meta_path[:] = self.meta_path
220 sys.meta_path.append(i)
231 sys.meta_path.append(ImportBlocker(mname))
236 sys.meta_path.append(i)
Dtest_pkgutil.py114 sys.meta_path.insert(0, self.MyTestImporter())
117 del sys.meta_path[0]
/external/autotest/client/site_tests/logging_CrashSender/
Dlogging_CrashSender.py81 meta_path = self.write_fake_meta(
84 self._check_simple_minidump_send(meta_path, log_path)
97 meta_path = self.write_fake_meta(
100 self._shift_file_mtime(meta_path, _25_HOURS_AGO)
101 self._check_simple_minidump_send(meta_path)
/external/autotest/client/cros/crash/
Dcrash_test.py444 meta_path = meta_match.group(1)
447 meta_path = None
489 'meta_path': meta_path,
Duser_crash_test.py332 def _check_generated_report_sending(self, meta_path, payload_path, argument
347 if result['meta_path'] != meta_path:
/external/autotest/server/
Dsite_crashcollect.py388 meta_path = os.path.splitext(minidump_path)[0] + '.meta'
389 with open(meta_path, 'r') as f:
/external/python/cpython2/Python/
Dimport.c1349 PyObject *meta_path; in find_module() local
1351 meta_path = PySys_GetObject("meta_path"); in find_module()
1352 if (meta_path == NULL || !PyList_Check(meta_path)) { in find_module()
1358 Py_INCREF(meta_path); /* zap guard */ in find_module()
1359 npath = PyList_Size(meta_path); in find_module()
1362 PyObject *hook = PyList_GetItem(meta_path, i); in find_module()
1368 Py_DECREF(meta_path); in find_module()
1374 Py_DECREF(meta_path); in find_module()
1380 Py_DECREF(meta_path); in find_module()
/external/python/cpython2/Doc/library/
Dpkgutil.rst59 placement on :data:`sys.meta_path`.
113 fullname, otherwise they will be importers for :data:`sys.meta_path`,
Dsys.rst657 .. data:: meta_path
667 :data:`sys.meta_path` is searched before any implicit default finders or
/external/python/cpython2/Lib/
Dpkgutil.py433 for importer in sys.meta_path:
/external/python/cpython2/Doc/reference/
Dsimple_stmts.rst710 single: sys.meta_path
715 If the module is not found in the cache, then :data:`sys.meta_path` is searched
716 (the specification for :data:`sys.meta_path` can be found in :pep:`302`).
731 If none of the finders on :data:`sys.meta_path` are able to find the module
/external/python/cpython2/Doc/tutorial/
Dmodules.rst299 'long_info', 'maxint', 'maxsize', 'maxunicode', 'meta_path', 'modules',
/external/python/cpython2/Doc/whatsnew/
D2.3.rst724 * ``sys.meta_path`` is a list of importer objects that will be traversed before
738 for mp in sys.meta_path:
/external/python/cpython2/Misc/
DHISTORY5009 sys.meta_path, sys.path_hooks, and sys.path_importer_cache; these