diff options
| author | Nick Coghlan <ncoghlan@gmail.com> | 2018-06-20 21:25:01 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-20 21:25:01 +1000 |
| commit | 16eb3bcdb22be4d82dc597b92b7154fcb11c6479 (patch) | |
| tree | 82fdbbf2c2712e8b1dddc76c0bc01ab2e5c3c7e2 | |
| parent | fd8fbce495c32b0cbc13f71a8e9d4eec6f48c844 (diff) | |
| download | cpython-git-16eb3bcdb22be4d82dc597b92b7154fcb11c6479.tar.gz | |
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
| -rw-r--r-- | Doc/whatsnew/3.8.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 32c45ec7c3..542e84feaa 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 |
