summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2018-06-20 11:25:01 (GMT)
committerGitHub <noreply@github.com>2018-06-20 11:25:01 (GMT)
commit16eb3bcdb22be4d82dc597b92b7154fcb11c6479 (patch)
tree82fdbbf2c2712e8b1dddc76c0bc01ab2e5c3c7e2 /Doc
parentfd8fbce495c32b0cbc13f71a8e9d4eec6f48c844 (diff)
downloadcpython-16eb3bcdb22be4d82dc597b92b7154fcb11c6479.zip
cpython-16eb3bcdb22be4d82dc597b92b7154fcb11c6479.tar.gz
cpython-16eb3bcdb22be4d82dc597b92b7154fcb11c6479.tar.bz2
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 32c45ec..542e84f 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -67,6 +67,20 @@ Summary -- Release highlights
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