mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
This commit is contained in:
parent
fd8fbce495
commit
16eb3bcdb2
1 changed files with 14 additions and 0 deletions
|
|
@ -67,6 +67,20 @@ Summary -- Release highlights
|
||||||
New Features
|
New Features
|
||||||
============
|
============
|
||||||
|
|
||||||
|
Parallel filesystem cache for compiled bytecode files
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
The new :envvar:`PYTHONPYCACHEPREFIX` setting (also available as
|
||||||
|
:option:`-X` ``pycache_prefix``) configures the implicit bytecode
|
||||||
|
cache to use a separate parallel filesystem tree, rather than
|
||||||
|
the default ``__pycache__`` subdirectories within each source
|
||||||
|
directory.
|
||||||
|
|
||||||
|
The location of the cache is reported in :data:`sys.pycache_prefix`
|
||||||
|
(:const:`None` indicates the default location in ``__pycache__``
|
||||||
|
subdirectories).
|
||||||
|
|
||||||
|
(Contributed by Carl Meyer in :issue:`33499`.)
|
||||||
|
|
||||||
|
|
||||||
Other Language Changes
|
Other Language Changes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue