Skip to content

[3.15] gh-161086: Honor --fast and --best for file arguments in gzip CLI (GH-161087) - #161118

Merged
gpshead merged 1 commit into
python:3.15from
gpshead:backport-8a316ff-3.15
Nov 1, 2026
Merged

gpshead merged 1 commit into
python:3.15from
gpshead:backport-8a316ff-3.15

Conversation

@gpshead

@gpshead gpshead commented Nov 1, 2026 •

Copy link
Copy Markdown
Member
… gzip CLI (pythonGH-161087)

The file branch of gzip.main() did not pass the compression level to
gzip.open(), so only stdin input was affected by --fast/--best.

(cherry picked from commit 8a316ff)
@gpshead
gpshead enabled auto-merge (squash) November 1, 2026 18:55
@gpshead
gpshead merged commit 69b7d35 into python:3.15 Nov 1, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant