Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
gzip.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 8, 2017
Replace KB unit with KiB (#4293)
Show description for 8c663fd
vstinner
authored
8c663fd
View commit details
Copy full SHA for 8c663fd
View code at this point
Browse repository at this point
Commits on Oct 2, 2016
Issue #28227: gzip now supports pathlib
Show description for 03020cf
berkerpeksag
committed
03020cf
View commit details
Copy full SHA for 03020cf
View code at this point
Browse repository at this point
Commits on Sep 11, 2016
Use sequence repetition instead of bytes constructor with integer argument.
serhiy-storchaka
committed
5f1a518
View commit details
Copy full SHA for 5f1a518
View code at this point
Browse repository at this point
Commits on Apr 19, 2016
Fix spelling (inital), grammar (may translates) in documentation, comments
vadmium
committed
8f26565
View commit details
Copy full SHA for 8f26565
View code at this point
Browse repository at this point
Commits on Dec 11, 2015
Issue #22341: Drop Python 2 workaround and document CRC initial value
Show description for b82032f
vadmium
committed
b82032f
View commit details
Copy full SHA for b82032f
View code at this point
Browse repository at this point
Commits on Apr 10, 2015
Issue #23529: Limit the size of decompressed data when reading from
Show description for 2dbc6e6
pitrou
committed
2dbc6e6
View commit details
Copy full SHA for 2dbc6e6
View code at this point
Browse repository at this point
Issue #23865: close() methods in multiple modules now are idempotent and more
Show description for 2116b12
serhiy-storchaka
committed
2116b12
View commit details
Copy full SHA for 2116b12
View code at this point
Browse repository at this point
Issue #23865: close() methods in multiple modules now are idempotent and more
Show description for 7e7a3db
serhiy-storchaka
committed
7e7a3db
View commit details
Copy full SHA for 7e7a3db
View code at this point
Browse repository at this point
Commits on Mar 23, 2015
Issue #23688: Added support of arbitrary bytes-like objects and avoided
Show description for bca63b3
serhiy-storchaka
committed
bca63b3
View commit details
Copy full SHA for bca63b3
View code at this point
Browse repository at this point
Issue #21560: An attempt to write a data of wrong type no longer cause
Show description for d4c2ac8
serhiy-storchaka
committed
d4c2ac8
View commit details
Copy full SHA for d4c2ac8
View code at this point
Browse repository at this point
Commits on Mar 9, 2014
Issue #20875: Merge from 3.3
ned-deily
committed
e512729
View commit details
Copy full SHA for e512729
View code at this point
Browse repository at this point
Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Show description for 6120739
ned-deily
committed
6120739
View commit details
Copy full SHA for 6120739
View code at this point
Browse repository at this point
Commits on Oct 18, 2013
Issue #19222: Add support for the 'x' mode to the gzip module.
Show description for ee1be99
nvawda
committed
ee1be99
View commit details
Copy full SHA for ee1be99
View code at this point
Browse repository at this point
Commits on Aug 29, 2013
Issue #18743: Fix references to non-existant "StringIO" module
Show description for 48e6a8c
serhiy-storchaka
committed
48e6a8c
View commit details
Copy full SHA for 48e6a8c
View code at this point
Browse repository at this point
Issue #18743: Fix references to non-existant "StringIO" module
Show description for 50254c5
serhiy-storchaka
committed
50254c5
View commit details
Copy full SHA for 50254c5
View code at this point
Browse repository at this point
Commits on May 12, 2013
Back out patch for #1159051, which caused backwards compatibility problems.
birkenfeld
committed
b3bd624
View commit details
Copy full SHA for b3bd624
View code at this point
Browse repository at this point
Commits on Apr 8, 2013
Close #17666: Fix reading gzip files with an extra field.
serhiy-storchaka
committed
ffcd339
View commit details
Copy full SHA for ffcd339
View code at this point
Browse repository at this point
Close #17666: Fix reading gzip files with an extra field.
serhiy-storchaka
committed
7e69f00
View commit details
Copy full SHA for 7e69f00
View code at this point
Browse repository at this point
Commits on Jan 22, 2013
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
Show description for cc0172c
serhiy-storchaka
committed
cc0172c
View commit details
Copy full SHA for cc0172c
View code at this point
Browse repository at this point
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
Show description for 57f9b7a
serhiy-storchaka
committed
57f9b7a
View commit details
Copy full SHA for 57f9b7a
View code at this point
Browse repository at this point
Issue #1159051: GzipFile now raises EOFError when reading a corrupted file
Show description for 7c3922f
serhiy-storchaka
committed
7c3922f
View commit details
Copy full SHA for 7c3922f
View code at this point
Browse repository at this point
#15546: Fix GzipFile.peek()'s handling of pathological input data.
Show description for fc6e8aa
serhiy-storchaka
committed
fc6e8aa
View commit details
Copy full SHA for fc6e8aa
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
View code at this point
Browse repository at this point
Commits on Nov 11, 2012
Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Show description for 6ff262e
nvawda
committed
6ff262e
View commit details
Copy full SHA for 6ff262e
View code at this point
Browse repository at this point
Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Show description for 19e568d
nvawda
committed
19e568d
View commit details
Copy full SHA for 19e568d
View code at this point
Browse repository at this point
Commits on Aug 29, 2012
Issue #15800: fix the closing of input / output files when gzip is used as a script.
pitrou
committed
2a021c8
View commit details
Copy full SHA for 2a021c8
View code at this point
Browse repository at this point
Issue #15800: fix the closing of input / output files when gzip is used as a script.
pitrou
committed
ecc4757
View commit details
Copy full SHA for ecc4757
View code at this point
Browse repository at this point
Commits on Aug 5, 2012
#15546: Also fix GzipFile.peek().
nvawda
committed
0435400
View commit details
Copy full SHA for 0435400
View code at this point
Browse repository at this point
#15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data.
nvawda
committed
37d3ff1
View commit details
Copy full SHA for 37d3ff1
View code at this point
Browse repository at this point
Commits on Jun 30, 2012
Update GzipFile docstring to mention gzip.open()'s new text-mode support.
nvawda
committed
83a4dd3
View commit details
Copy full SHA for 83a4dd3
View code at this point
Browse repository at this point
Commits on Jun 19, 2012
Fix GzipFile's handling of filenames given as bytes objects.
Show description for 10c8791
nvawda
committed
10c8791
View commit details
Copy full SHA for 10c8791
View code at this point
Browse repository at this point
Fix GzipFile's handling of filenames given as bytes objects.
nvawda
committed
103e811
View commit details
Copy full SHA for 103e811
View code at this point
Browse repository at this point
Commits on Jun 4, 2012
Add fileobj support to gzip.open().
nvawda
committed
6872101
View commit details
Copy full SHA for 6872101
View code at this point
Browse repository at this point
Commits on May 6, 2012
Closes #13989: Add support for text modes to gzip.open().
Show description for 7e12620
nvawda
committed
7e12620
View commit details
Copy full SHA for 7e12620
View code at this point
Browse repository at this point
Commits on Feb 11, 2012
Clean up GzipFile mode string handling code.
nvawda
committed
be66af4
View commit details
Copy full SHA for be66af4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.