Skip to content

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

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

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

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:56
@gpshead
gpshead merged commit e1484f1 into python:3.14 Nov 1, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant