Skip to content

bpo-43612: Add wbits parameter to zlib.compress - #25011

Closed
rhpvorderman wants to merge 10 commits into
python:mainfrom
rhpvorderman:bpo-43612
Closed

bpo-43612: Add wbits parameter to zlib.compress#25011
rhpvorderman wants to merge 10 commits into
python:mainfrom
rhpvorderman:bpo-43612

Conversation

@rhpvorderman

@rhpvordermanrhpvorderman commented Mar 24, 2021

Copy link
Copy Markdown
Contributor

This allows users to compress raw deflate blocks without zlib headers and trailers in one go. Without needing to use zlib.compressobj. Also this allows users to do zlib.compress(data, 1, wbits=31) which is much faster than gzip.compress(data, 1).

https://bugs.python.org/issue43612

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label Apr 24, 2021
Comment threadDoc/library/zlib.rst Outdated
Comment threadDoc/library/zlib.rst Outdated
Comment threadDoc/library/zlib.rst Outdated
Comment threadDoc/library/zlib.rst Outdated
Comment threadModules/zlibmodule.c Outdated
Comment threadMisc/NEWS.d/next/Library/2021-03-24-09-40-02.bpo-43612.vMGZ4y.rst Outdated
@rhpvorderman

Copy link
Copy Markdown
ContributorAuthor

@ZackerySpytz Thank you for the review! I addressed your comments.

@github-actionsgithub-actionsBot removed the stale Stale PR or inactive for long period of time. label Jun 2, 2021
@rhpvorderman

Copy link
Copy Markdown
ContributorAuthor

Changes incorporated in #27941

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rhpvorderman@ZackerySpytz@the-knights-who-say-ni@bedevere-bot