GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-91349: Update `gzip` docs and docstrings for the default compresslevel of 6 by s-t-e-v-e-n-k · Pull Request #159439 · python/cpython

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 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

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.

  • Issue: Use zlib-ng (fast!) rather than mainline stale zlib in binary releases #91349

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@s-t-e-v-e-n-k
Correct docstrings about compress level change
cffee31
Python 3.15 dropped the default compress level to 6, but 2 docstring
still state the default level is 9.
@bedevere-app bedevere-app Bot added the awaiting review label Oct 15, 2026
@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
@bedevere-app bedevere-app Bot mentioned this pull request Oct 21, 2026
Use zlib-ng (fast!) rather than mainline stale zlib in binary releases #91349
Closed
@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
Also fix GZipFile doc
9fd9a36
StanFromIreland
StanFromIreland approved these changes Oct 21, 2026
View reviewed changes

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

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!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Oct 21, 2026
@StanFromIreland StanFromIreland added the skip news label Oct 21, 2026
@StanFromIreland
StanFromIreland enabled auto-merge (squash) October 21, 2026 18:11
@StanFromIreland StanFromIreland added the needs backport to 3.15 bugs and security fixes label Oct 21, 2026
@read-the-docs-community

read-the-docs-community Bot commented Oct 21, 2026

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

  • c-api/pyexpat.html

± Modified

  • c-api/code.html
  • c-api/conversion.html
  • c-api/dict.html
  • c-api/exceptions.html
  • c-api/file.html
  • c-api/function.html
  • c-api/hash.html
  • c-api/import.html
  • c-api/intro.html
  • c-api/long.html
  • and 14 more...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Oct 21, 2026
@miss-islington-app

miss-islington-app Bot commented Oct 21, 2026

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.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

StanFromIreland commented Oct 21, 2026

Copy link
Copy Markdown
Member

Merged, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

StanFromIreland added a commit that referenced this pull request Oct 22, 2026
@miss-islington @s-t-e-v-e-n-k @StanFromIreland
[3.15] gh-91349: Update gzip docs and docstrings for the default co…
ef37746
…mpresslevel of 6 (GH-159439) (#160096)

(cherry picked from commit 49aed47)

Co-authored-by: Steve Kowalik <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@StanFromIreland StanFromIreland StanFromIreland approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news type-feature A feature request or enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@s-t-e-v-e-n-k @StanFromIreland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.