Skip to content

Commit 16eb3bc

Browse files
authored
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
1 parent fd8fbce commit 16eb3bc

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Doc/whatsnew/3.8.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ Summary -- Release highlights
6767
New Features
6868
============
6969

70+
Parallel filesystem cache for compiled bytecode files
71+
-----------------------------------------------------
72+
73+
The new :envvar:`PYTHONPYCACHEPREFIX` setting (also available as
74+
:option:`-X` ``pycache_prefix``) configures the implicit bytecode
75+
cache to use a separate parallel filesystem tree, rather than
76+
the default ``__pycache__`` subdirectories within each source
77+
directory.
78+
79+
The location of the cache is reported in :data:`sys.pycache_prefix`
80+
(:const:`None` indicates the default location in ``__pycache__``
81+
subdirectories).
82+
83+
(Contributed by Carl Meyer in :issue:`33499`.)
7084

7185

7286
Other Language Changes

0 commit comments

Comments
 (0)