Searched refs:pycache_prefix (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 777 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 …]
|
D | util.py | 336 _orig_prefix = sys.pycache_prefix 337 sys.pycache_prefix = prefix 341 sys.pycache_prefix = _orig_prefix
|
/external/python/cpython3/Python/ |
D | initconfig.c | 578 CLEAR(config->pycache_prefix); in PyConfig_Clear() 816 COPY_WSTR_ATTR(pycache_prefix); in _PyConfig_Copy() 923 SET_ITEM_WSTR(pycache_prefix); in config_as_dict() 1417 assert(config->pycache_prefix == NULL); in config_init_pycache_prefix() 1423 config->pycache_prefix = _PyMem_RawWcsdup(sep + 1); in config_init_pycache_prefix() 1424 if (config->pycache_prefix == NULL) { in config_init_pycache_prefix() 1431 config->pycache_prefix = NULL; in config_init_pycache_prefix() 1436 return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix, in config_init_pycache_prefix() 1470 if (config->pycache_prefix == NULL) { in config_read_complex_options()
|
D | sysmodule.c | 2927 if (config->pycache_prefix != NULL) { in _PySys_InitMain() 2928 SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix); in _PySys_InitMain()
|
/external/python/cpython3/Include/cpython/ |
D | initconfig.h | 199 wchar_t *pycache_prefix; /* PYTHONPYCACHEPREFIX, -X pycache_prefix=PATH */ member
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 344 if sys.pycache_prefix is not None: 365 sys.pycache_prefix, 386 if sys.pycache_prefix is not None: 387 stripped_path = sys.pycache_prefix.rstrip(path_separators)
|
/external/python/cpython3/Doc/library/ |
D | compileall.rst | 143 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
|
D | sys.rst | 300 .. data:: pycache_prefix 313 ``pycache_prefix=PATH`` command-line option or the
|
/external/python/cpython3/Doc/c-api/ |
D | init_config.rst | 616 .. c:member:: wchar_t* pycache_prefix 618 :data:`sys.pycache_prefix`: ``.pyc`` cache prefix. 620 If ``NULL``, :data:`sys.pycache_prefix` is set to ``None``.
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 451 * ``-X pycache_prefix=PATH`` enables writing ``.pyc`` files to a parallel 474 The ``-X pycache_prefix`` option. The ``-X dev`` option now logs 639 ``pycache_prefix=PATH`` option.
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 515 config_set_string(&config, &config.pycache_prefix, L"conf_pycache_prefix"); in test_init_from_config()
|
/external/python/cpython3/Doc/tutorial/ |
D | modules.rst | 325 'path_importer_cache', 'platform', 'prefix', 'ps1', 'ps2', 'pycache_prefix',
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 195 :option:`-X` ``pycache_prefix``) configures the implicit bytecode 200 The location of the cache is reported in :data:`sys.pycache_prefix`
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a1.rst | 1226 ``pycache_prefix`` command-line option to set an alternate root directory
|