You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
Copy file name to clipboardExpand all lines: Doc/whatsnew/3.9.rst
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,16 @@ that schedules a shutdown for the default executor that waits on the
245
245
Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher
246
246
implementation that polls process file descriptors. (:issue:`38692`)
247
247
248
+
compileall
249
+
----------
250
+
251
+
Added new possibility to use hardlinks for duplicated ``.pyc`` files: *hardlink_dupes* parameter and --hardlink-dupes command line option.
252
+
(Contributed by Lumír 'Frenzy' Balhar in :issue:`40495`.)
253
+
254
+
Added new options for path manipulation in resulting ``.pyc`` files: *stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command line options.
255
+
Added the possibility to specify the option for an optimization level multiple times.
256
+
(Contributed by Lumír 'Frenzy' Balhar in :issue:`38112`.)
0 commit comments