-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide compress/uncompress functions on the gzip module #47738
Comments
Python has great in-built support for all sorts of text compression Of these, I have a gripe with gzip - it does not provide a simple It is relatively easy to perform gzip de-compression using the It would be great for the gzip module to have "compress" I think being able to send gzip compressed strings directly would be |
Uploading a file containing two functions which can be used to provide This is not a patch to gzip.py, but a stand-alone file. It this looks |
I think the functionality is useful, although it may be too late to make
|
Thanks. The file I uploaded was not an actual patch but just how the I can make an actual patch to gzip.py with docstrings, unit-tests and |
I have uploaded the actual patch file which can be applied against the |
Uploading the svn diff. |
Added test case in test_gzip.py. Attaching svn diff of the same. |
Can we include this for the next release ? |
Seems simple enough, I don't see why not. |
The patch lacks a documentation update, though. |
Ok, I will add this. |
Uploading fresh gzip.py SVN diff with a minor change, i.e accepting a |
Uploading rst documentation svn diff for module. |
This appears to have slipped under the radar, msg94432 seems to sum it up. Could someone please take this forward. |
Modified patch committed in r84155 (py3k). Thanks for your contribution! |
Okay. Verified as working. Thank you! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: