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
listobject.h
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 4, 2018
Add PySequence_Fast_GetItemRef() and PyList_GetItemRef()
Show description for e0889e9
vstinner
committed
e0889e9
View commit details
Copy full SHA for e0889e9
View code at this point
Browse repository at this point
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 Apr 21, 2017
bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751)
serhiy-storchaka
authored and
vstinner
committed
1a5856b
View commit details
Copy full SHA for 1a5856b
View code at this point
Browse repository at this point
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
View commit details
Copy full SHA for 6a7b3a7
View code at this point
Browse repository at this point
Commits on May 22, 2015
Issue #24221: Small optimizations for heapq.
Show description for 5cbd833
rhettinger
committed
5cbd833
View commit details
Copy full SHA for 5cbd833
View code at this point
Browse repository at this point
Commits on May 26, 2014
remove tab (closes #21587)
benjaminp
committed
1a2cf9a
View commit details
Copy full SHA for 1a2cf9a
View code at this point
Browse repository at this point
Commits on Jun 22, 2012
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
davidmalcolm
committed
49526f4
View commit details
Copy full SHA for 49526f4
View code at this point
Browse repository at this point
Commits on Nov 14, 2011
Issue #13389: Full garbage collection passes now clear the freelists for
Show description for 9a812cb
pitrou
committed
9a812cb
View commit details
Copy full SHA for 9a812cb
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 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 Jul 21, 2007
Merged revisions 56467-56482 via svnmerge from
Show description for 9f2e346
loewis
committed
9f2e346
View commit details
Copy full SHA for 9f2e346
View code at this point
Browse repository at this point
Commits on Feb 25, 2007
Merged revisions 53875-53911 via svnmerge from
Show description for 27d517b
Yhg1s
committed
27d517b
View commit details
Copy full SHA for 27d517b
View code at this point
Browse repository at this point
Commits on Feb 15, 2006
Merge ssize_t branch.
loewis
committed
18e1655
View commit details
Copy full SHA for 18e1655
View code at this point
Browse repository at this point
Commits on Oct 28, 2004
Wrote down the invariants of some common objects whose structure is
Show description for 89a3946
arigo
committed
89a3946
View commit details
Copy full SHA for 89a3946
View code at this point
Browse repository at this point
Commits on Aug 1, 2004
Fix typo in comment
nnorwitz
committed
4ecd8cd
View commit details
Copy full SHA for 4ecd8cd
View code at this point
Browse repository at this point
Commits on Jul 29, 2004
* drop the unreasonable list invariant that ob_item should never come back
Show description for 93677f0
arigo
committed
93677f0
View commit details
Copy full SHA for 93677f0
View code at this point
Browse repository at this point
Fix obscure breakage (relative to 2.3) in listsort: the test for list
Show description for 51b4ade
tim-one
committed
51b4ade
View commit details
Copy full SHA for 51b4ade
View code at this point
Browse repository at this point
Document what the members of PyListObject are used for, and the crucial
Show description for a995a2d
tim-one
committed
a995a2d
View commit details
Copy full SHA for a995a2d
View code at this point
Browse repository at this point
Commits on Mar 11, 2004
Eliminate a big block of duplicate code in PySequence_List() by
Show description for 8ca92ae
rhettinger
committed
8ca92ae
View commit details
Copy full SHA for 8ca92ae
View code at this point
Browse repository at this point
Commits on Feb 13, 2004
* Optimized list appends and pops by making fewer calls the underlying system
Show description for 4bb9540
rhettinger
committed
4bb9540
View commit details
Copy full SHA for 4bb9540
View code at this point
Browse repository at this point
Commits on Feb 8, 2004
Revert improvement to list.append() checked in before it was ready.
rhettinger
committed
204b000
View commit details
Copy full SHA for 204b000
View code at this point
Browse repository at this point
Let reversed() work with itself.
rhettinger
committed
06353f7
View commit details
Copy full SHA for 06353f7
View code at this point
Browse repository at this point
Commits on Aug 12, 2002
Excise DL_EXPORT from Include.
Show description for 91a681d
mhammond
committed
91a681d
View commit details
Copy full SHA for 91a681d
View code at this point
Browse repository at this point
Commits on Oct 5, 2001
Introduced the oddly-missing PyList_CheckExact(), and used it to replace
Show description for b1c4698
tim-one
committed
b1c4698
View commit details
Copy full SHA for b1c4698
View code at this point
Browse repository at this point
Commits on Aug 2, 2001
Merge of descr-branch back into trunk.
tim-one
committed
6d6c1a3
View commit details
Copy full SHA for 6d6c1a3
View code at this point
Browse repository at this point
Commits on Sep 1, 2000
REMOVED all CWI, CNRI and BeOpen copyright markings.
Show description for 8586991
gvanrossum
committed
8586991
View commit details
Copy full SHA for 8586991
View code at this point
Browse repository at this point
Commits on Jul 9, 2000
ANSI-fication and Py_PROTO extermination.
freddrake
committed
ea9cb5a
View commit details
Copy full SHA for ea9cb5a
View code at this point
Browse repository at this point
Commits on Jun 30, 2000
Change copyright notice - 2nd try.
gvanrossum
committed
ffcc381
View commit details
Copy full SHA for ffcc381
View code at this point
Browse repository at this point
Change copyright notice.
gvanrossum
committed
fd71b9e
View commit details
Copy full SHA for fd71b9e
View code at this point
Browse repository at this point
Commits on Mar 1, 2000
Got rid of silly "123456789-..." lines in comments.
gvanrossum
committed
c6e87a2
View commit details
Copy full SHA for c6e87a2
View code at this point
Browse repository at this point
Commits on Dec 4, 1998
Add DL_IMPORT(returntype) for all officially exported functions.
gvanrossum
committed
43466ec
View commit details
Copy full SHA for 43466ec
View code at this point
Browse repository at this point
Commits on Apr 24, 1998
Fred's right -- we need PyList_SET_ITEM().
gvanrossum
committed
a937d14
View commit details
Copy full SHA for a937d14
View code at this point
Browse repository at this point
Commits on Jan 6, 1997
added PyList_GET_SIZE macro
Show description for 1f2bd07
warsaw
committed
1f2bd07
View commit details
Copy full SHA for 1f2bd07
View code at this point
Browse repository at this point
Commits on Oct 25, 1996
New permission notice, includes CNRI.
gvanrossum
committed
d266eb4
View commit details
Copy full SHA for d266eb4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.