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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Modules
_bz2module.c
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 5, 2018
Use Py_GetType() and %T format
vstinner
committed
790f968
View commit details
Copy full SHA for 790f968
View code at this point
Browse repository at this point
Commits on Jun 23, 2018
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)
Show description for 9b7cf75
vstinner
authored
9b7cf75
View commit details
Copy full SHA for 9b7cf75
View code at this point
Browse repository at this point
Commits on Feb 13, 2018
bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)
orenmn
authored and
methane
committed
d019bc8
View commit details
Copy full SHA for d019bc8
View code at this point
Browse repository at this point
Commits on Sep 7, 2017
bpo-31370: Remove support for threads-less builds (#3385)
Show description for a6a4dc8
pitrou
authored and
vstinner
committed
a6a4dc8
View commit details
Copy full SHA for a6a4dc8
View code at this point
Browse repository at this point
Commits on Apr 16, 2017
bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)
serhiy-storchaka
authored
55fe1ae
View commit details
Copy full SHA for 55fe1ae
View code at this point
Browse repository at this point
Commits on Oct 1, 2016
Issue #28275: Merge bz2 fix from 3.5 into 3.6
vadmium
committed
55c9239
View commit details
Copy full SHA for 55c9239
View code at this point
Browse repository at this point
Issue #28275: Clean up to avoid use-after-free after bzip decompress failure
vadmium
committed
38317d3
View commit details
Copy full SHA for 38317d3
View code at this point
Browse repository at this point
Commits on May 2, 2016
Got rid of redundand "self" parameter declarations.
Show description for 7a9579c
serhiy-storchaka
committed
7a9579c
View commit details
Copy full SHA for 7a9579c
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
4884271
View commit details
Copy full SHA for 4884271
View code at this point
Browse repository at this point
Commits on Dec 27, 2015
Issue #20440: Applied yet one patch for using Py_SETREF.
Show description for 4a1e70f
serhiy-storchaka
committed
4a1e70f
View commit details
Copy full SHA for 4a1e70f
View code at this point
Browse repository at this point
Commits on Apr 14, 2015
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.
larryhastings
committed
89964c4
View commit details
Copy full SHA for 89964c4
View code at this point
Browse repository at this point
Commits on Apr 3, 2015
Issue #23501: Argumen Clinic now generates code into separate files by default.
serhiy-storchaka
committed
1009bf1
View commit details
Copy full SHA for 1009bf1
View code at this point
Browse repository at this point
Commits on Mar 18, 2015
Removed unintentional trailing spaces in non-external and non-generated C files.
serhiy-storchaka
committed
009b811
View commit details
Copy full SHA for 009b811
View code at this point
Browse repository at this point
Commits on Feb 26, 2015
Issue #15955: Add an option to limit the output size in bz2.decompress().
Show description for e71258a
pitrou
committed
e71258a
View commit details
Copy full SHA for e71258a
View code at this point
Browse repository at this point
Commits on Aug 15, 2014
Issue #22156: Fix some "comparison between signed and unsigned integers"
Show description for 706768c
vstinner
committed
706768c
View commit details
Copy full SHA for 706768c
View code at this point
Browse repository at this point
Commits on Jan 28, 2014
Issue #20326: Argument Clinic now uses a simple, unique signature to
Show description for 581ee36
larryhastings
committed
581ee36
View commit details
Copy full SHA for 581ee36
View code at this point
Browse repository at this point
Commits on Jan 26, 2014
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
larryhastings
committed
f256c22
View commit details
Copy full SHA for f256c22
View code at this point
Browse repository at this point
Issue #20390: Small fixes and improvements for Argument Clinic.
larryhastings
committed
c204726
View commit details
Copy full SHA for c204726
View code at this point
Browse repository at this point
Commits on Jan 25, 2014
Issue #20193: The _bz2 module now uses Argument Clinic.
serhiy-storchaka
committed
1bc4bb2
View commit details
Copy full SHA for 1bc4bb2
View code at this point
Browse repository at this point
Commits on Oct 28, 2013
#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
Show description for e6514f5
nvawda
committed
e6514f5
View commit details
Copy full SHA for e6514f5
View code at this point
Browse repository at this point
#19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).
Show description for 3797065
nvawda
committed
3797065
View commit details
Copy full SHA for 3797065
View code at this point
Browse repository at this point
Commits on Jul 7, 2013
Issue #18227: "Free" function of bz2, lzma and zlib modules has no return value (void)
vstinner
committed
b7f1f65
View commit details
Copy full SHA for b7f1f65
View code at this point
Browse repository at this point
Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modules
vstinner
committed
5064a52
View commit details
Copy full SHA for 5064a52
View code at this point
Browse repository at this point
Commits on Jun 4, 2013
Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c
vstinner
committed
fbf50d4
View commit details
Copy full SHA for fbf50d4
View code at this point
Browse repository at this point
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
Show description for 640c35c
vstinner
committed
640c35c
View commit details
Copy full SHA for 640c35c
View code at this point
Browse repository at this point
Commits on Jan 2, 2013
Issue #16828: Fix error incorrectly raised by bz2.compress('').
Show description for 57cb81d
nvawda
committed
57cb81d
View commit details
Copy full SHA for 57cb81d
View code at this point
Browse repository at this point
Commits on Oct 21, 2012
Merge #14398: Fix size truncation and overflow bugs in bz2 module.
nvawda
committed
18b7fcc
View commit details
Copy full SHA for 18b7fcc
View code at this point
Browse repository at this point
Commits on Oct 13, 2011
Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one.
Show description for 72d6a13
nvawda
committed
72d6a13
View commit details
Copy full SHA for 72d6a13
View code at this point
Browse repository at this point
Commits on Apr 12, 2011
Fix 64-bit safety issue in BZ2Compressor and BZ2Decompressor.
nvawda
committed
ea4b46f
View commit details
Copy full SHA for ea4b46f
View code at this point
Browse repository at this point
Commits on Apr 3, 2011
Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
Show description for 37dc5f8
pitrou
committed
37dc5f8
View commit details
Copy full SHA for 37dc5f8
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.