Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/
Dtest_util.py777 for pycache_prefix in pycache_prefixes:
778 with self.subTest(path=pycache_prefix):
782 pycache_prefix, 'foo', 'bar', 'baz',
784 with util.temporary_pycache_prefix(pycache_prefix):
795 pycache_prefix = os.path.join(os.path.sep, 'tmp', 'bytecode')
799 pycache_prefix,
802 with util.temporary_pycache_prefix(pycache_prefix):
813 pycache_prefix = os.path.join(os.path.sep, 'tmp', 'bytecode')
814 path = os.path.join(pycache_prefix, 'foo', 'bar', 'baz',
817 with util.temporary_pycache_prefix(pycache_prefix):
[all …]
Dutil.py338 _orig_prefix = sys.pycache_prefix
339 sys.pycache_prefix = prefix
343 sys.pycache_prefix = _orig_prefix
/third_party/python/Lib/test/
D_test_embed_set_config.py256 self.check(pycache_prefix=None)
257 self.check(pycache_prefix="pycache_prefix")
/third_party/python/Python/
Dinitconfig.c654 CLEAR(config->pycache_prefix); in PyConfig_Clear()
891 COPY_WSTR_ATTR(pycache_prefix); in _PyConfig_Copy()
996 SET_ITEM_WSTR(pycache_prefix); in _PyConfig_AsDict()
1272 GET_WSTR_OPT(pycache_prefix); in _PyConfig_FromDict()
1765 assert(config->pycache_prefix == NULL); in config_init_pycache_prefix()
1771 config->pycache_prefix = _PyMem_RawWcsdup(sep + 1); in config_init_pycache_prefix()
1772 if (config->pycache_prefix == NULL) { in config_init_pycache_prefix()
1779 config->pycache_prefix = NULL; in config_init_pycache_prefix()
1784 return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix, in config_init_pycache_prefix()
1813 if (config->pycache_prefix == NULL) { in config_read_complex_options()
Dsysmodule.c2967 if (config->pycache_prefix != NULL) { in _PySys_UpdateConfig()
2968 SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix); in _PySys_UpdateConfig()
/third_party/python/Include/cpython/
Dinitconfig.h151 wchar_t *pycache_prefix; member
/third_party/python/Lib/importlib/
D_bootstrap_external.py423 if sys.pycache_prefix is not None:
444 sys.pycache_prefix,
465 if sys.pycache_prefix is not None:
466 stripped_path = sys.pycache_prefix.rstrip(path_separators)
/third_party/python/Doc/library/
Dcompileall.rst143 Similarly, the :func:`compile` function respects the :attr:`sys.pycache_prefix`
145 run with the same :attr:`sys.pycache_prefix` (if any) that will be used at
Dsys.rst317 .. data:: pycache_prefix
330 ``pycache_prefix=PATH`` command-line option or the
/third_party/python/Doc/c-api/
Dinit_config.rst971 .. c:member:: wchar_t* pycache_prefix
974 :data:`sys.pycache_prefix`.
976 Set by the :option:`-X pycache_prefix=PATH <-X>` command line option and
979 If ``NULL``, :data:`sys.pycache_prefix` is set to ``None``.
/third_party/python/Doc/using/
Dcmdline.rst471 * ``-X pycache_prefix=PATH`` enables writing ``.pyc`` files to a parallel
497 The ``-X pycache_prefix`` option. The ``-X dev`` option now logs
656 ``pycache_prefix=PATH`` option.
/third_party/python/Programs/
D_testembed.c528 config_set_string(&config, &config.pycache_prefix, L"conf_pycache_prefix"); in test_init_from_config()
/third_party/python/Doc/tutorial/
Dmodules.rst326 'path_importer_cache', 'platform', 'prefix', 'ps1', 'ps2', 'pycache_prefix',
/third_party/python/Doc/whatsnew/
D3.8.rst195 :option:`-X` ``pycache_prefix``) configures the implicit bytecode
200 The location of the cache is reported in :data:`sys.pycache_prefix`
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst1226 ``pycache_prefix`` command-line option to set an alternate root directory