/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 | 34 pic = sys.path_importer_cache.copy() 128 sys.path_importer_cache.clear() 129 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 | 88 """A dummy finder which flushes sys.path_importer_cache when it gets 92 sys.path_importer_cache.clear() 159 # to flush the path_importer_cache, which we do by registering a
|
test_zipimport.py | 69 sys.path_importer_cache.clear() 76 sys.path_importer_cache.clear()
|
/external/python/cpython3/Lib/test/test_importlib/ |
test_api.py | 398 self.addCleanup(lambda: sys.path_importer_cache.__delitem__(key)) 399 sys.path_importer_cache[key] = path_ins 408 sys.path_importer_cache[key] = None 409 self.addCleanup(lambda: sys.path_importer_cache.pop(key, None))
|
util.py | 185 ('path_importer_cache', {})): 541 del sys.path_importer_cache[cls._zip_path]
|
/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()
|
regrtest.py | [all...] |
/external/python/cpython2/Lib/test/ |
test_importhooks.py | 145 sys.path_importer_cache.clear() 152 sys.path_importer_cache.clear()
|
regrtest.py | [all...] |
/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", 1310 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; local 1344 PyObject *path_hooks, *path_importer_cache; local [all...] |
/external/python/cpython3/Python/ |
import.c | 61 /* adding sys.path_hooks and sys.path_importer_cache */ 72 err = PySys_SetObject("path_importer_cache", v); 89 "or path_importer_cache failed"); 380 "path_hooks", "path_importer_cache", "meta_path", 1081 possibly by fetching it from the path_importer_cache dict. If it 1086 path_importer_cache. 1090 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, 1098 assert(PyDict_Check(path_importer_cache)); 1104 importer = PyDict_GetItem(path_importer_cache, p); 1108 /* set path_importer_cache[p] to None to avoid recursion * 1139 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; 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)
|
runpy.py | 187 cache = sys.path_importer_cache
|
/external/python/cpython2/Lib/ |
pkgutil.py | 367 The returned importer is cached in sys.path_importer_cache 378 importer = sys.path_importer_cache[path_item] 388 sys.path_importer_cache.setdefault(path_item, importer)
|
runpy.py | 199 cache = sys.path_importer_cache
|
/external/python/cpython3/Lib/ |
pkgutil.py | 408 The returned finder is cached in sys.path_importer_cache 415 importer = sys.path_importer_cache[path_item] 420 sys.path_importer_cache.setdefault(path_item, importer)
|
/external/python/cpython3/Lib/importlib/ |
_bootstrap_external.py | [all...] |
/external/python/cpython3/ |
setup.py | 435 # started, sys.path_importer_cache has a negative result 437 sys.path_importer_cache.clear() [all...] |