Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.1k
Star
77.2k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
gzip.rst
on
3.8
User selector
All users
Datepicker
All time
Commit history
Commits on May 13, 2019
bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022)
Show description for cf599f6
3 people
authored and
serhiy-storchaka
committed
cf599f6
View commit details
Copy full SHA for cf599f6
View code at this point
Browse repository at this point
Commits on Nov 7, 2018
bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704)
Show description for 0e7497c
guoci
authored and
serhiy-storchaka
committed
0e7497c
View commit details
Copy full SHA for 0e7497c
View code at this point
Browse repository at this point
Commits on Nov 5, 2018
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
serhiy-storchaka
authored
083a7a1
View commit details
Copy full SHA for 083a7a1
View code at this point
Browse repository at this point
Commits on Nov 3, 2018
bpo-34969: Add --fast, --best on the gzip CLI (GH-9833)
matrixise
authored and
JulienPalard
committed
3e28eed
View commit details
Copy full SHA for 3e28eed
View code at this point
Browse repository at this point
Commits on Oct 10, 2018
bpo-34913: Document gzip command line interface (GH-9782)
matrixise
authored and
JulienPalard
committed
7c817e6
View commit details
Copy full SHA for 7c817e6
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 Nov 2, 2015
Issue #25523: Merge a-to-an corrections from 3.4.
serhiy-storchaka
committed
a84f6c3
View commit details
Copy full SHA for a84f6c3
View code at this point
Browse repository at this point
Issue #25523: Further a-to-an corrections.
serhiy-storchaka
committed
d65c949
View commit details
Copy full SHA for d65c949
View code at this point
Browse repository at this point
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
vadmium
committed
2eb819f
View commit details
Copy full SHA for 2eb819f
View code at this point
Browse repository at this point
Issue #25523: Correct "a" article to "an" article
Show description for 7462b64
vadmium
committed
7462b64
View commit details
Copy full SHA for 7462b64
View code at this point
Browse repository at this point
Commits on Apr 14, 2015
#21146: give a more efficient recipe in gzip docs
akuchling
committed
f887a61
View commit details
Copy full SHA for f887a61
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
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
Commits on Dec 8, 2013
Closes #18430: Document that peek() may change the position of the underlying
Show description for bd6932a
nvawda
committed
bd6932a
View commit details
Copy full SHA for bd6932a
View code at this point
Browse repository at this point
#18430: Document that peek() may change the position of the underlying file for
Show description for 6976104
nvawda
committed
6976104
View commit details
Copy full SHA for 6976104
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 Oct 6, 2013
Closes #15432: GzipFile mtime argument is new in 3.1.
birkenfeld
committed
ffb94ae
View commit details
Copy full SHA for ffb94ae
View code at this point
Browse repository at this point
Fix typo.
birkenfeld
committed
f27bfd8
View commit details
Copy full SHA for f27bfd8
View code at this point
Browse repository at this point
Commits on Aug 16, 2013
Issue #18743: Fix references to non-existant "StringIO" module.
serhiy-storchaka
committed
e79be87
View commit details
Copy full SHA for e79be87
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 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
Merge: #13989: Document that GzipFile does not support text mode.
nvawda
committed
d1a1071
View commit details
Copy full SHA for d1a1071
View code at this point
Browse repository at this point
Issue #13989: Document that GzipFile does not support text mode.
Show description for 30d94b7
nvawda
committed
30d94b7
View commit details
Copy full SHA for 30d94b7
View code at this point
Browse repository at this point
Commits on Feb 5, 2012
Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)
merwok
committed
cd0d951
View commit details
Copy full SHA for cd0d951
View code at this point
Browse repository at this point
Commits on Jan 16, 2012
Improve interlinking of archiving/compression modules docs.
Show description for f2fbb9c
merwok
committed
f2fbb9c
View commit details
Copy full SHA for f2fbb9c
View code at this point
Browse repository at this point
Commits on Nov 29, 2011
Issue #6715: Add module for compression using the LZMA algorithm.
nvawda
committed
3ff069e
View commit details
Copy full SHA for 3ff069e
View code at this point
Browse repository at this point
Commits on Jul 4, 2011
Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck.
orsenthil
committed
276a58b
View commit details
Copy full SHA for 276a58b
View code at this point
Browse repository at this point
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.
orsenthil
committed
a6bac95
View commit details
Copy full SHA for a6bac95
View code at this point
Browse repository at this point
Commits on Apr 4, 2011
Clarify that GzipFile.read1() is now implemented
pitrou
committed
6b4be36
View commit details
Copy full SHA for 6b4be36
View code at this point
Browse repository at this point
Clarify that GzipFile.read1() isn't implemented.
pitrou
committed
e886047
View commit details
Copy full SHA for e886047
View code at this point
Browse repository at this point
Commits on Jan 27, 2011
More source links
rhettinger
committed
469271d
View commit details
Copy full SHA for 469271d
View code at this point
Browse repository at this point
Commits on Oct 4, 2010
GzipFile.peek improvements, suggested by Nir Aides.
pitrou
committed
7b998e9
View commit details
Copy full SHA for 7b998e9
View code at this point
Browse repository at this point
Commits on Sep 29, 2010
Issue #9962: GzipFile now has the peek() method.
pitrou
committed
c3ed2e7
View commit details
Copy full SHA for c3ed2e7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.