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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
pythoncapi
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Include
bytesobject.h
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 4, 2018
Use _Py_TYPE()
vstinner
committed
c74582b
View commit details
Copy full SHA for c74582b
View code at this point
Browse repository at this point
Commits on Nov 28, 2017
bpo-32150: Expand tabs to spaces in C files. (#4583)
serhiy-storchaka
authored
598ceae
View commit details
Copy full SHA for 598ceae
View code at this point
Browse repository at this point
Commits on Dec 27, 2016
Issue #29058: All stable API extensions added after Python 3.2 are now
Show description for 34d0ac8
serhiy-storchaka
committed
34d0ac8
View commit details
Copy full SHA for 34d0ac8
View code at this point
Browse repository at this point
Commits on Oct 31, 2016
Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6.
ericvsmith
committed
5646648
View commit details
Copy full SHA for 5646648
View code at this point
Browse repository at this point
Commits on Aug 30, 2016
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
rhettinger
committed
15f44ab
View commit details
Copy full SHA for 15f44ab
View code at this point
Browse repository at this point
Commits on Apr 15, 2016
Issue #15984: Merge PyUnicode doc from 3.5
vadmium
committed
cda8094
View commit details
Copy full SHA for cda8094
View code at this point
Browse repository at this point
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
Show description for 6245cb3
vadmium
committed
6245cb3
View commit details
Copy full SHA for 6245cb3
View code at this point
Browse repository at this point
Commits on Oct 14, 2015
Add _PyBytesWriter_Resize() function
Show description for c5c3ba4
vstinner
committed
c5c3ba4
View commit details
Copy full SHA for c5c3ba4
View code at this point
Browse repository at this point
Optimize bytes.fromhex() and bytearray.fromhex()
Show description for 2bf8993
vstinner
committed
2bf8993
View commit details
Copy full SHA for 2bf8993
View code at this point
Browse repository at this point
Optimize bytearray % args
Show description for 772b2b0
vstinner
committed
772b2b0
View commit details
Copy full SHA for 772b2b0
View code at this point
Browse repository at this point
Add use_bytearray attribute to _PyBytesWriter
Show description for 661aacc
vstinner
committed
661aacc
View commit details
Copy full SHA for 661aacc
View code at this point
Browse repository at this point
Commits on Oct 12, 2015
Relax _PyBytesWriter API
Show description for c29e29b
vstinner
committed
c29e29b
View commit details
Copy full SHA for c29e29b
View code at this point
Browse repository at this point
Commits on Oct 9, 2015
Add _PyBytesWriter_WriteBytes() to factorize the code
vstinner
committed
ce179bf
View commit details
Copy full SHA for ce179bf
View code at this point
Browse repository at this point
_PyBytesWriter: rename size attribute to min_size
vstinner
committed
53926a1
View commit details
Copy full SHA for 53926a1
View code at this point
Browse repository at this point
Issue #25318: cleanup code _PyBytesWriter
Show description for b3653a3
vstinner
committed
b3653a3
View commit details
Copy full SHA for b3653a3
View code at this point
Browse repository at this point
Commits on Oct 8, 2015
Issue #25318: Move _PyBytesWriter to bytesobject.c
Show description for 0016507
vstinner
committed
0016507
View commit details
Copy full SHA for 0016507
View code at this point
Browse repository at this point
Commits on Jan 24, 2015
Issue20284: Implement PEP461
ethanfurman
committed
b95b561
View commit details
Copy full SHA for b95b561
View code at this point
Browse repository at this point
Commits on Aug 13, 2013
Issue #18722: Remove uses of the "register" keyword in C code.
pitrou
committed
9ed5f27
View commit details
Copy full SHA for 9ed5f27
View code at this point
Browse repository at this point
Commits on Apr 27, 2012
Simplify and optimize formatlong()
Show description for d0880d5
vstinner
committed
d0880d5
View commit details
Copy full SHA for d0880d5
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Merge branches/pep-0384.
loewis
committed
4d0d471
View commit details
Copy full SHA for 4d0d471
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
make hashes always the size of pointers; introduce Py_hash_t #9778
benjaminp
committed
8f67d08
View commit details
Copy full SHA for 8f67d08
View code at this point
Browse repository at this point
Commits on Apr 16, 2009
The other half of Issue #1580: use short float repr where possible.
Show description for 0923d1d
ericvsmith
committed
0923d1d
View commit details
Copy full SHA for 0923d1d
View code at this point
Browse repository at this point
Commits on Apr 3, 2009
Added ',' thousands grouping to int.__format__. See PEP 378.
Show description for a3b1ac8
ericvsmith
committed
a3b1ac8
View commit details
Copy full SHA for a3b1ac8
View code at this point
Browse repository at this point
Commits on Aug 26, 2008
make bytes(o) respect __bytes__ #2415
Show description for c15a073
benjaminp
committed
c15a073
View commit details
Copy full SHA for c15a073
View code at this point
Browse repository at this point
Commits on Jun 24, 2008
Merged revisions 64491 via svnmerge from
Show description for 6d7e7a7
ericvsmith
committed
6d7e7a7
View commit details
Copy full SHA for 6d7e7a7
View code at this point
Browse repository at this point
Commits on Jun 10, 2008
Merged revisions 63829-63831,63858,63865,63879,63882,63948,63970-63972,63976,63989,64014-64015,64021-64022,64063-64065,64067 via svnmerge from
Show description for 0c77a82
birkenfeld
committed
0c77a82
View commit details
Copy full SHA for 0c77a82
View code at this point
Browse repository at this point
Commits on May 26, 2008
remove PyBytes_Format from header
benjaminp
committed
27ad091
View commit details
Copy full SHA for 27ad091
View code at this point
Browse repository at this point
Renamed files bytesobject.[ch] and stringobject.[ch]
Show description for 2c9c7a5
tiran
committed
2c9c7a5
View commit details
Copy full SHA for 2c9c7a5
View code at this point
Browse repository at this point
Renamed PyBytes to PyByteArray
tiran
committed
9c4756e
View commit details
Copy full SHA for 9c4756e
View code at this point
Browse repository at this point
Commits on Dec 19, 2007
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
tiran
committed
90aa764
View commit details
Copy full SHA for 90aa764
View code at this point
Browse repository at this point
Commits on Nov 29, 2007
Added all PyTypeObjects to the appropriate header files.
Show description for a22e8bd
tiran
committed
a22e8bd
View commit details
Copy full SHA for a22e8bd
View code at this point
Browse repository at this point
Commits on Aug 25, 2007
Fix typo in comment
nnorwitz
committed
1978470
View commit details
Copy full SHA for 1978470
View code at this point
Browse repository at this point
Commits on Aug 19, 2007
Code review of the new buffer protocol. Mostly add questions that should
Show description for faa54a3
nnorwitz
committed
faa54a3
View commit details
Copy full SHA for faa54a3
View code at this point
Browse repository at this point
Commits on Aug 18, 2007
Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118.
teoliphant
committed
b99f762
View commit details
Copy full SHA for b99f762
View code at this point
Browse repository at this point
Commits on Jul 21, 2007
Fix merge breakage.
loewis
committed
5d7428b
View commit details
Copy full SHA for 5d7428b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.