From d6fb53fe42d83a10f1372dd92ffaa6a01d2feffb Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 14 May 2020 01:11:54 +0200 Subject: bpo-39465: Remove _PyUnicode_ClearStaticStrings() from C API (GH-20078) Remove the _PyUnicode_ClearStaticStrings() function from the C API. Make the function fully private (declare it with "static"). --- Doc/whatsnew/3.9.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Doc/whatsnew') diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index c57d702dce..2fec790fe3 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -964,3 +964,6 @@ Removed * ``PyTuple_ClearFreeList()`` * ``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in Python 3.3. + +* Remove ``_PyUnicode_ClearStaticStrings()`` function. + (Contributed by Victor Stinner in :issue:`39465`.) -- cgit v1.2.1 From e77d428856fbd339faee44ff47214eda5fb51d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= Date: Thu, 14 May 2020 16:17:22 +0200 Subject: bpo-40495: compileall option to hardlink duplicate pyc files (GH-19901) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Co-authored-by: Victor Stinner --- Doc/whatsnew/3.9.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Doc/whatsnew') diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 2fec790fe3..fbad0fba20 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 ------------------ -- cgit v1.2.1