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
Developer articles
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
Modules
_io
bytesio.c
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Apr 29, 2018
bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030)
Show description for 55edd0c
siddhesh
authored and
serhiy-storchaka
committed
55edd0c
View commit details
Copy full SHA for 55edd0c
View code at this point
Browse repository at this point
Commits on Aug 24, 2017
bpo-31095: fix potential crash during GC (GH-2974)
methane
authored
a6296d3
View commit details
Copy full SHA for a6296d3
View code at this point
Browse repository at this point
Commits on Mar 30, 2017
bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716)
Show description for 762bf40
serhiy-storchaka
authored
762bf40
View commit details
Copy full SHA for 762bf40
View code at this point
Browse repository at this point
Commits on Mar 21, 2017
bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748)
serhiy-storchaka
authored
fff9a31
View commit details
Copy full SHA for fff9a31
View code at this point
Browse repository at this point
Commits on Mar 12, 2017
bpo-29730: replace some calls to PyNumber_Check and improve some error messages (#650)
orenmn
authored and
serhiy-storchaka
committed
0042510
View commit details
Copy full SHA for 0042510
View code at this point
Browse repository at this point
Commits on Mar 10, 2017
bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606)
Show description for 7400254
orenmn
authored and
serhiy-storchaka
committed
7400254
View commit details
Copy full SHA for 7400254
View code at this point
Browse repository at this point
Commits on Oct 20, 2016
Issue #23214: Implement optional BufferedReader, BytesIO read1() argument
vadmium
committed
ccb2c0e
View commit details
Copy full SHA for ccb2c0e
View code at this point
Browse repository at this point
Commits on May 28, 2016
Issue #20699: Merge io bytes-like fixes from 3.5
vadmium
committed
c249221
View commit details
Copy full SHA for c249221
View code at this point
Browse repository at this point
Issue #20699: Document that “io” methods accept bytes-like objects
Show description for 6bb91f3
vadmium
committed
6bb91f3
View commit details
Copy full SHA for 6bb91f3
View code at this point
Browse repository at this point
Commits on Apr 16, 2016
Merge typo fixes from 3.5
vadmium
committed
8b04a94
View commit details
Copy full SHA for 8b04a94
View code at this point
Browse repository at this point
Fix typos in code comments and documentation
vadmium
committed
119e502
View commit details
Copy full SHA for 119e502
View code at this point
Browse repository at this point
Commits on Apr 10, 2016
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
Show description for f01e408
serhiy-storchaka
committed
f01e408
View commit details
Copy full SHA for f01e408
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
ec39756
View commit details
Copy full SHA for ec39756
View code at this point
Browse repository at this point
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: Cleaning up the code by using Py_SETREF and Py_CLEAR.
Show description for 1ed017a
serhiy-storchaka
committed
1ed017a
View commit details
Copy full SHA for 1ed017a
View code at this point
Browse repository at this point
Commits on Dec 24, 2015
Issue #20440: Massive replacing unsafe attribute setting code with special
Show description for 5a57ade
serhiy-storchaka
committed
5a57ade
View commit details
Copy full SHA for 5a57ade
View code at this point
Browse repository at this point
Commits on Dec 19, 2015
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Show description for 5c4064e
serhiy-storchaka
committed
5c4064e
View commit details
Copy full SHA for 5c4064e
View code at this point
Browse repository at this point
Commits on Sep 4, 2015
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Show description for 4e63f7a
serhiy-storchaka
committed
4e63f7a
View commit details
Copy full SHA for 4e63f7a
View code at this point
Browse repository at this point
Commits on May 4, 2015
Issue #24001: Argument Clinic converters now use accept={type}
Show description for dbfdc38
larryhastings
committed
dbfdc38
View commit details
Copy full SHA for dbfdc38
View code at this point
Browse repository at this point
Commits on Apr 16, 2015
Issue #20175: Converted the _io module to Argument Clinic.
serhiy-storchaka
committed
f24131f
View commit details
Copy full SHA for f24131f
View code at this point
Browse repository at this point
Commits on Apr 9, 2015
Replaced "string" with "bytes object" in docstrings of binary I/O objects.
serhiy-storchaka
committed
5056769
View commit details
Copy full SHA for 5056769
View code at this point
Browse repository at this point
Replaced "string" with "bytes object" in docstrings of binary I/O objects.
serhiy-storchaka
committed
b817b77
View commit details
Copy full SHA for b817b77
View code at this point
Browse repository at this point
Commits on Feb 3, 2015
Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()
Show description for 650c1e8
skrah
committed
650c1e8
View commit details
Copy full SHA for 650c1e8
View code at this point
Browse repository at this point
Issue #15381: Fixed a bug in BytesIO.write().
Show description for 38c30e6
serhiy-storchaka
committed
38c30e6
View commit details
Copy full SHA for 38c30e6
View code at this point
Browse repository at this point
Issue #15381: Try to fix refcount bug. Empty and 1-byte buffers are always shared.
serhiy-storchaka
committed
b9765ee
View commit details
Copy full SHA for b9765ee
View code at this point
Browse repository at this point
Issue #15381: Optimized io.BytesIO to make less allocations and copyings.
serhiy-storchaka
committed
87d0b45
View commit details
Copy full SHA for 87d0b45
View code at this point
Browse repository at this point
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
Show description for 32ca3dc
serhiy-storchaka
committed
32ca3dc
View commit details
Copy full SHA for 32ca3dc
View code at this point
Browse repository at this point
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
Show description for c057c38
serhiy-storchaka
committed
c057c38
View commit details
Copy full SHA for c057c38
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 3dd3e26
serhiy-storchaka
committed
3dd3e26
View commit details
Copy full SHA for 3dd3e26
View code at this point
Browse repository at this point
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 4fdb684
serhiy-storchaka
committed
4fdb684
View commit details
Copy full SHA for 4fdb684
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 Aug 14, 2014
Issue #15381: Optimized line reading in io.BytesIO.
serhiy-storchaka
committed
d7728ca
View commit details
Copy full SHA for d7728ca
View code at this point
Browse repository at this point
Commits on Jul 29, 2014
Issue #22003: When initialized from a bytes object, io.BytesIO() now
Show description for cc66a73
pitrou
committed
cc66a73
View commit details
Copy full SHA for cc66a73
View code at this point
Browse repository at this point
Commits on Sep 8, 2012
Merge 3.2.
skrah
committed
ea94ba4
View commit details
Copy full SHA for ea94ba4
View code at this point
Browse repository at this point
Issue #15868: Fix refleak in bytesio.c (Coverity #715365).
skrah
committed
96efdd4
View commit details
Copy full SHA for 96efdd4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.