HomeSort by relevance Sort by last modified time
    Searched refs:path_importer_cache (Results 1 - 25 of 45) sorted by null

1 2

  /external/python/cpython3/Lib/test/test_importlib/import_/
test_path.py 30 # Implicitly tests that sys.path_importer_cache is used.
34 with util.import_state(path_importer_cache={path: importer},
41 # Implicitly tests that sys.path_importer_cache is used.
45 with util.import_state(path_importer_cache={path: importer}):
54 with util.import_state(path_importer_cache={path: importer},
60 # Test that sys.path_importer_cache is set.
68 self.assertIn(path, sys.path_importer_cache)
69 self.assertIs(sys.path_importer_cache[path], importer)
73 # sys.path_importer_cache gets None set, and PathFinder returns None.
75 with util.import_state(path_importer_cache={}, path_hooks=[]
    [all...]
  /external/python/cpython3/Lib/test/libregrtest/
refleak.py 57 pic = sys.path_importer_cache.copy()
132 sys.path_importer_cache.clear()
133 sys.path_importer_cache.update(pic)
  /external/python/cpython3/Lib/test/
test_zipimport_support.py 70 sys.path_importer_cache.clear()
76 sys.path_importer_cache.clear()
test_threaded_import.py 81 """A dummy finder which flushes sys.path_importer_cache when it gets
85 sys.path_importer_cache.clear()
151 # to flush the path_importer_cache, which we do by registering a
  /external/python/cpython3/Python/
import.c 61 /* adding sys.path_hooks and sys.path_importer_cache */
72 err = PySys_SetObject("path_importer_cache", v);
84 "or path_importer_cache failed");
318 "path_hooks", "path_importer_cache", "meta_path",
953 possibly by fetching it from the path_importer_cache dict. If it
958 path_importer_cache.
962 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks,
970 assert(PyDict_Check(path_importer_cache));
976 importer = PyDict_GetItem(path_importer_cache, p);
980 /* set path_importer_cache[p] to None to avoid recursion *
1011 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local
    [all...]
  /external/python/cpython3/Lib/test/test_importlib/
test_api.py 386 self.addCleanup(lambda: sys.path_importer_cache.__delitem__(key))
387 sys.path_importer_cache[key] = path_ins
396 sys.path_importer_cache[key] = None
397 self.addCleanup(lambda: sys.path_importer_cache.__delitem__(key))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /external/python/cpython2/Lib/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_importhooks.py 145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
import.c 177 /* adding sys.path_hooks and sys.path_importer_cache, setting up
195 err = PySys_SetObject("path_importer_cache", v);
207 "path_importer_cache, or NullImporter failed"
379 "path_hooks", "path_importer_cache", "meta_path",
1175 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local
1209 PyObject *path_hooks, *path_importer_cache; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
import.c 205 /* adding sys.path_hooks and sys.path_importer_cache, setting up
223 err = PySys_SetObject("path_importer_cache", v);
235 "path_importer_cache, or NullImporter failed"
411 "path_hooks", "path_importer_cache", "meta_path",
1270 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local
1304 PyObject *path_hooks, *path_importer_cache; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
import.c 177 /* adding sys.path_hooks and sys.path_importer_cache, setting up
195 err = PySys_SetObject("path_importer_cache", v);
207 "path_importer_cache, or NullImporter failed"
379 "path_hooks", "path_importer_cache", "meta_path",
1175 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local
1209 PyObject *path_hooks, *path_importer_cache; local
    [all...]
  /external/python/cpython2/Python/
import.c 205 /* adding sys.path_hooks and sys.path_importer_cache, setting up
223 err = PySys_SetObject("path_importer_cache", v);
235 "path_importer_cache, or NullImporter failed"
411 "path_hooks", "path_importer_cache", "meta_path",
1288 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local
1322 PyObject *path_hooks, *path_importer_cache; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
runpy.py 187 cache = sys.path_importer_cache
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
pkgutil.py 361 The returned importer is cached in sys.path_importer_cache
372 importer = sys.path_importer_cache[path_item]
382 sys.path_importer_cache.setdefault(path_item, importer)
  /external/python/cpython2/Lib/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
  /external/python/cpython3/Lib/
pkgutil.py 405 The returned finder is cached in sys.path_importer_cache
412 importer = sys.path_importer_cache[path_item]
417 sys.path_importer_cache.setdefault(path_item, importer)
  /prebuilts/gdb/darwin-x86/lib/python2.7/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
  /prebuilts/gdb/linux-x86/lib/python2.7/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
pkgutil.py 369 The returned importer is cached in sys.path_importer_cache
380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)

Completed in 841 milliseconds

1 2