• Carl Meyer's avatar
    bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. (GH-6834) · b193fa99
    Carl Meyer yazdı
    In some development setups it is inconvenient or impossible to write bytecode
    caches to the code tree, but the bytecode caches are still useful. The
    PYTHONPYCACHEPREFIX environment variable allows specifying an alternate
    location for cached bytecode files, within which a directory tree mirroring the code
    tree will be created. This cache tree is then used (for both reading and writing)
    instead of the local `__pycache__` subdirectory within each source directory.
    
    Exposed at runtime as sys.pycache_prefix (defaulting to None), and can
    be set from the CLI as "-X pycache_prefix=path".
    
    Patch by Carl Meyer.
    b193fa99
Adı
Son kayıt (commit)
Son güncelleme
.github Loading commit data...
.vsts Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
m4 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...