Skip to content

gh-91349: Update gzip docs and docstrings for the default compresslevel of 6 - #159439

Merged
StanFromIreland merged 2 commits into
python:mainfrom
s-t-e-v-e-n-k:correct-gzip-default-compress-docstring
Oct 21, 2026
Merged

StanFromIreland merged 2 commits into
python:mainfrom
s-t-e-v-e-n-k:correct-gzip-default-compress-docstring

Conversation

@s-t-e-v-e-n-k

@s-t-e-v-e-n-k s-t-e-v-e-n-k commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Python 3.15 dropped the default compress level to 6, but 2 docstring still state the default level is 9.

This will require a backport to 3.15, but no earlier.

Python 3.15 dropped the default compress level to 6, but 2 docstring
still state the default level is 9.
@StanFromIreland StanFromIreland changed the title Trivial: correct docstrings about compress level change gh-91349: Correct docstrings about compress level change Oct 21, 2026
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 21, 2026
@StanFromIreland StanFromIreland changed the title gh-91349: Correct docstrings about compress level change gh-91349: Update gzip docs and docstrings for the default compresslevel of 6 Oct 21, 2026

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed an additional fix, I hope that's alright.

LGTM!

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35305883 | 📁 Comparing 9fd9a36 against main (796b26b)

  🔍 Preview build  

25 files changed · + 1 added · ± 24 modified

+ Added

± Modified

@StanFromIreland
StanFromIreland merged commit 49aed47 into python:main Oct 21, 2026
60 of 61 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @s-t-e-v-e-n-k for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 21, 2026

Copy link
Copy Markdown

GH-160096 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

Merged, thanks!

StanFromIreland added a commit that referenced this pull request Oct 22, 2026
…mpresslevel of 6 (GH-159439) (#160096)

(cherry picked from commit 49aed47)

Co-authored-by: Steve Kowalik <steven@wedontsleep.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants