Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
rhpvorderman wants to merge 10 commits into
python:mainpython/cpython:mainfrom
rhpvorderman:bpo-43612rhpvorderman/cpython:bpo-43612Copy head branch name to clipboard
Closed

bpo-43612: Add wbits parameter to zlib.compress#25011
rhpvorderman wants to merge 10 commits into
python:mainpython/cpython:mainfrom
rhpvorderman:bpo-43612rhpvorderman/cpython:bpo-43612Copy head branch name to clipboard

Conversation

@rhpvorderman

@rhpvorderman rhpvorderman 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-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 24, 2021
Comment thread Doc/library/zlib.rst Outdated
Comment thread Doc/library/zlib.rst Outdated
Comment thread Doc/library/zlib.rst Outdated
Comment thread Doc/library/zlib.rst Outdated
Comment thread Modules/zlibmodule.c Outdated
Comment thread Misc/NEWS.d/next/Library/2021-03-24-09-40-02.bpo-43612.vMGZ4y.rst Outdated
@rhpvorderman

Copy link
Copy Markdown
Contributor Author

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

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

Copy link
Copy Markdown
Contributor Author

Changes incorporated in #27941

Sign up for free to 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.