• 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
..
builtin Loading commit data...
data01 Loading commit data...
data02 Loading commit data...
data03 Loading commit data...
extension Loading commit data...
frozen Loading commit data...
import_ Loading commit data...
namespace_pkgs Loading commit data...
source Loading commit data...
zipdata01 Loading commit data...
zipdata02 Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
abc.py Loading commit data...
test_abc.py Loading commit data...
test_api.py Loading commit data...
test_lazy.py Loading commit data...
test_locks.py Loading commit data...
test_namespace_pkgs.py Loading commit data...
test_open.py Loading commit data...
test_path.py Loading commit data...
test_read.py Loading commit data...
test_resource.py Loading commit data...
test_spec.py Loading commit data...
test_util.py Loading commit data...
test_windows.py Loading commit data...
util.py Loading commit data...