Home
last modified time | relevance | path

Searched refs:pycache_prefix (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/test/test_importlib/
H A Dtest_util.py764 # If pycache_prefix is set, cache_from_source will return a bytecode
778 for pycache_prefix in pycache_prefixes:
779 with self.subTest(path=pycache_prefix):
783 pycache_prefix, 'foo', 'bar', 'baz',
785 with util.temporary_pycache_prefix(pycache_prefix):
794 # absolute path before prefixing with pycache_prefix, to avoid any
796 pycache_prefix = os.path.join(os.path.sep, 'tmp', 'bytecode')
800 pycache_prefix,
803 with util.temporary_pycache_prefix(pycache_prefix):
811 # If pycache_prefix i
[all...]
H A Dutil.py328 """Adjust and restore sys.pycache_prefix."""
329 _orig_prefix = sys.pycache_prefix
330 sys.pycache_prefix = prefix
334 sys.pycache_prefix = _orig_prefix
/third_party/python/Lib/test/
H A D_test_embed_set_config.py108 # 'pycache_prefix'
259 self.check(pycache_prefix=None)
260 self.check(pycache_prefix="pycache_prefix")
H A Dtest_compileall.py506 """Adjust and restore sys.pycache_prefix."""
507 old_prefix = sys.pycache_prefix
510 sys.pycache_prefix = new_prefix
516 sys.pycache_prefix = old_prefix
/third_party/python/Python/
H A Dinitconfig.c111 -X pycache_prefix=PATH: enable writing .pyc files to a parallel tree rooted at the\n\
703 CLEAR(config->pycache_prefix); in PyConfig_Clear()
956 COPY_WSTR_ATTR(pycache_prefix); in _PyConfig_Copy()
1066 SET_ITEM_WSTR(pycache_prefix); in _PyConfig_AsDict()
1347 GET_WSTR_OPT(pycache_prefix); in _PyConfig_FromDict()
1782 assert(config->pycache_prefix == NULL); in config_init_pycache_prefix()
1784 const wchar_t *xoption = config_get_xoption(config, L"pycache_prefix"); in config_init_pycache_prefix()
1788 config->pycache_prefix = _PyMem_RawWcsdup(sep + 1); in config_init_pycache_prefix()
1789 if (config->pycache_prefix == NULL) { in config_init_pycache_prefix()
1795 // if "-X pycache_prefix in config_init_pycache_prefix()
[all...]
H A Dsysmodule.c3101 if (config->pycache_prefix != NULL) { in _PySys_UpdateConfig()
3102 SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix); in _PySys_UpdateConfig()
3104 PyDict_SetItemString(sysdict, "pycache_prefix", Py_None); in _PySys_UpdateConfig()
/third_party/python/Include/cpython/
H A Dinitconfig.h153 wchar_t *pycache_prefix; member
/third_party/python/Lib/importlib/
H A D_bootstrap_external.py480 if sys.pycache_prefix is not None:
482 # collisions within sys.pycache_prefix, if someone has two different
484 # same sys.pycache_prefix. Let's say sys.pycache_prefix is
501 sys.pycache_prefix,
522 if sys.pycache_prefix is not None:
523 stripped_path = sys.pycache_prefix.rstrip(path_separators)
/third_party/python/Programs/
H A D_testembed.c607 config_set_string(&config, &config.pycache_prefix, L"conf_pycache_prefix"); in test_init_from_config()

Completed in 30 milliseconds