summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorLumír 'Frenzy' Balhar <lbalhar@redhat.com>2020-05-14 14:17:22 (GMT)
committerGitHub <noreply@github.com>2020-05-14 14:17:22 (GMT)
commite77d428856fbd339faee44ff47214eda5fb51d57 (patch)
treef6da10d4c4b9d438107f665760a0ba79810f4e49 /Doc/whatsnew/3.9.rst
parent7443d42021d433da0497f8ba651daa47e7dc1991 (diff)
downloadcpython-e77d428856fbd339faee44ff47214eda5fb51d57.zip
cpython-e77d428856fbd339faee44ff47214eda5fb51d57.tar.gz
cpython-e77d428856fbd339faee44ff47214eda5fb51d57.tar.bz2
bpo-40495: compileall option to hardlink duplicate pyc files (GH-19901)
compileall is now able to use hardlinks to prevent duplicates in a case when .pyc files for different optimization levels have the same content. Co-authored-by: Miro Hrončok <miro@hroncok.cz> Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 2fec790..fbad0fb 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -245,6 +245,16 @@ that schedules a shutdown for the default executor that waits on the
Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher
implementation that polls process file descriptors. (:issue:`38692`)
+compileall
+----------
+
+Added new possibility to use hardlinks for duplicated ``.pyc`` files: *hardlink_dupes* parameter and --hardlink-dupes command line option.
+(Contributed by Lumír 'Frenzy' Balhar in :issue:`40495`.)
+
+Added new options for path manipulation in resulting ``.pyc`` files: *stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command line options.
+Added the possibility to specify the option for an optimization level multiple times.
+(Contributed by Lumír 'Frenzy' Balhar in :issue:`38112`.)
+
concurrent.futures
------------------