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
Objects
bytesobject.c
on
2.7
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 29, 2017
[2.7] bpo-20047: Make bytearray methods partition() and rpartition() rejecting (GH-4158) (#4163)
Show description for 107f3cc
serhiy-storchaka
authored
107f3cc
View commit details
Copy full SHA for 107f3cc
View code at this point
Browse repository at this point
Commits on Jun 10, 2008
Rename bytesobject.c back to stringobject.c to keep with the PyString theme.
Show description for b7fea62
gpshead
committed
b7fea62
View commit details
Copy full SHA for b7fea62
View code at this point
Browse repository at this point
More reverting of r63675 per the mailing list discussions. This restores
Show description for 99a3dce
gpshead
committed
99a3dce
View commit details
Copy full SHA for 99a3dce
View code at this point
Browse repository at this point
Commits on Jun 9, 2008
This reverts r63675 based on the discussion in this thread:
Show description for dd96db6
gpshead
committed
dd96db6
View commit details
Copy full SHA for dd96db6
View code at this point
Browse repository at this point
Commits on Jun 1, 2008
Some style nits. Also clarify in the docstrings what __sizeof__ does.
birkenfeld
committed
7a6de8b
View commit details
Copy full SHA for 7a6de8b
View code at this point
Browse repository at this point
Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
Robert Schuppenies
committed
51df064
View commit details
Copy full SHA for 51df064
View code at this point
Browse repository at this point
Commits on May 30, 2008
Refactor and clean up str.format() code (and helpers) in advance of optimizations.
ericvsmith
committed
dc13b79
View commit details
Copy full SHA for dc13b79
View code at this point
Browse repository at this point
Commits on May 26, 2008
Renamed bytesobject.c to bytearrayobject.c
Show description for 4472083
tiran
committed
4472083
View commit details
Copy full SHA for 4472083
View code at this point
Browse repository at this point
Renamed PyString to PyBytes
tiran
committed
593daf5
View commit details
Copy full SHA for 593daf5
View code at this point
Browse repository at this point
First step of the C API rename:
Show description for 3497f94
tiran
committed
3497f94
View commit details
Copy full SHA for 3497f94
View code at this point
Browse repository at this point
Commits on May 9, 2008
Backport fast alternate io.BytesIO implementation.
Show description for 1aed624
avassalotti
committed
1aed624
View commit details
Copy full SHA for 1aed624
View code at this point
Browse repository at this point
Commits on Apr 14, 2008
Backport manually r62342 from the py3k branch to the trunk.
avassalotti
committed
bcdc468
View commit details
Copy full SHA for bcdc468
View code at this point
Browse repository at this point
Commits on Apr 10, 2008
get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code.
gpshead
committed
2ea2968
View commit details
Copy full SHA for 2ea2968
View code at this point
Browse repository at this point
Commits on Apr 9, 2008
Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,
Show description for c00eb73
gpshead
committed
c00eb73
View commit details
Copy full SHA for c00eb73
View code at this point
Browse repository at this point
Commits on Mar 27, 2008
Fix memory leaks
nnorwitz
committed
4ebd46a
View commit details
Copy full SHA for 4ebd46a
View code at this point
Browse repository at this point
Fix bytes so it works on 64-bit platforms.
Show description for 0bcd613
nnorwitz
committed
0bcd613
View commit details
Copy full SHA for 0bcd613
View code at this point
Browse repository at this point
Commits on Mar 26, 2008
Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from
Show description for 1a6387e
tiran
committed
1a6387e
View commit details
Copy full SHA for 1a6387e
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.