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
See 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 }}
python
pythoncapi-compat
Repository navigation
Code
Issues
1
(1)
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pythoncapi-compat
pythoncapi_compat.h
on
refs/heads/main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 16, 2026
Add missing static inline to PyObject_GenericHash() (#205)
Show description for b7e486f
vstinner
authored
b7e486f
View commit details
Copy full SHA for b7e486f
View code at this point
Browse repository at this point
Commits on Oct 12, 2026
Remove Borrow functions (#202)
vstinner
authored
b687cbb
View commit details
Copy full SHA for b687cbb
View code at this point
Browse repository at this point
Add PyEval_GetFrameBuiltins() (#200)
Show description for a460340
vstinner
authored
a460340
View commit details
Copy full SHA for a460340
View code at this point
Browse repository at this point
Commits on Oct 10, 2026
Add PyObject_GenericHash() function (#195)
Show description for e2a2251
vstinner
authored
e2a2251
View commit details
Copy full SHA for e2a2251
View code at this point
Browse repository at this point
Commits on Oct 9, 2026
Add PyUnicodeWriter_WriteUCS4() function (#194)
vstinner
authored
cdf0abe
View commit details
Copy full SHA for cdf0abe
View code at this point
Browse repository at this point
Use _Py_PACK_VERSION() (#193)
Show description for 3d365fe
vstinner
authored
3d365fe
View commit details
Copy full SHA for 3d365fe
View code at this point
Browse repository at this point
Commits on Oct 8, 2026
Fix multiple issues with the limited C API (#191)
Show description for 9cfd722
vstinner
authored
9cfd722
View commit details
Copy full SHA for 9cfd722
View code at this point
Browse repository at this point
Support the old limited C API 3.2 (#190)
Show description for 077e5da
vstinner
authored
077e5da
View commit details
Copy full SHA for 077e5da
View code at this point
Browse repository at this point
Add PyImport_ImportModuleAttr() and PyType_GetQualName() (#189)
Show description for 183f44b
vstinner
authored
183f44b
View commit details
Copy full SHA for 183f44b
View code at this point
Browse repository at this point
Commits on Oct 5, 2026
Add support for the limited C API (Py_LIMITED_API) (#184)
Show description for cb1eadf
vstinner
authored
cb1eadf
View commit details
Copy full SHA for cb1eadf
View code at this point
Browse repository at this point
Commits on Sep 23, 2026
Add further support for PyPy3.12 v8.0.0 (#180)
Show description for b4cf220
vstinner
and
hugovk
authored
b4cf220
View commit details
Copy full SHA for b4cf220
View code at this point
Browse repository at this point
Commits on Sep 22, 2026
Add initial support for PyPy3.12 v8.0.0 (#177)
hugovk
authored
d88668c
View commit details
Copy full SHA for d88668c
View code at this point
Browse repository at this point
Commits on Sep 7, 2026
Remove Python 2.7 and 3.5 support (#171)
Show description for 11954c2
vstinner
authored
11954c2
View commit details
Copy full SHA for 11954c2
View code at this point
Browse repository at this point
Commits on Mar 19, 2026
PyUnicodeWriter_WriteRepr(NULL) now writes "<NULL>" (#170)
vstinner
authored
75a7967
View commit details
Copy full SHA for 75a7967
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
Build C and C++ extensions with /W4 on Windows (#168)
Show description for f6121eb
vstinner
authored
f6121eb
View commit details
Copy full SHA for f6121eb
View code at this point
Browse repository at this point
Add PyUnstable_SetImmortal() (#164)
Show description for 8636bcc
kumaraditya303
and
vstinner
authored
8636bcc
View commit details
Copy full SHA for 8636bcc
View code at this point
Browse repository at this point
Commits on Nov 8, 2025
Don't include structmember.h in pythoncapi_compat.h (#161)
Show description for 11cb80f
colesbury
authored
11cb80f
View commit details
Copy full SHA for 11cb80f
View code at this point
Browse repository at this point
Commits on Nov 7, 2025
Avoid "most vexing parse" warning in certain versions of NVCC (#162)
colesbury
authored
e3efede
View commit details
Copy full SHA for e3efede
View code at this point
Browse repository at this point
Commits on Nov 5, 2025
Remove trailing whitespace (#160)
colesbury
authored
44c8e14
View commit details
Copy full SHA for 44c8e14
View code at this point
Browse repository at this point
Add PyUnstable_TryIncref() and PyUnstable_EnableTryIncRef() (#159)
Show description for c44469c
colesbury
and
vstinner
authored
c44469c
View commit details
Copy full SHA for c44469c
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
Make PyUnstable_Unicode_GET_CACHED_HASH return -1 on PyPy (#157)
Show description for e510a7b
encukou
and
vstinner
authored
e510a7b
View commit details
Copy full SHA for e510a7b
View code at this point
Browse repository at this point
Commits on Oct 14, 2025
PyConfig_Get() is also available on Python 3.8 (#156)
vstinner
authored
6c77b6b
View commit details
Copy full SHA for 6c77b6b
View code at this point
Browse repository at this point
Add PyUnstable_Unicode_GET_CACHED_HASH() function (#155)
vstinner
authored
a49e0fb
View commit details
Copy full SHA for a49e0fb
View code at this point
Browse repository at this point
Add PyTuple_FromArray() function (#154)
vstinner
authored
89e023e
View commit details
Copy full SHA for 89e023e
View code at this point
Browse repository at this point
Commits on Oct 3, 2025
Fix varargs indicator for PyBytesWriter_Format (#153)
amolenaar
authored
22811c3
View commit details
Copy full SHA for 22811c3
View code at this point
Browse repository at this point
Fix compiler warnings for PyBytesWriter_Format (#152)
amolenaar
authored
97f1582
View commit details
Copy full SHA for 97f1582
View code at this point
Browse repository at this point
Commits on Sep 18, 2025
PEP 782: Add PyBytesWriter C API (#139)
vstinner
authored
ab72af8
View commit details
Copy full SHA for ab72af8
View code at this point
Browse repository at this point
Commits on Sep 1, 2025
Add PyUnstable_Object_IsUniquelyReferenced (#149)
ngoldbaum
authored
90c06a4
View commit details
Copy full SHA for 90c06a4
View code at this point
Browse repository at this point
Commits on Jun 24, 2025
Avoid %T format in error message (#146)
Show description for b541b98
vstinner
authored
b541b98
View commit details
Copy full SHA for b541b98
View code at this point
Browse repository at this point
Commits on Jun 9, 2025
Add PyUnicodeWriter_WriteASCII() (#145)
vstinner
authored
ffae0ff
View commit details
Copy full SHA for ffae0ff
View code at this point
Browse repository at this point
Commits on Jun 3, 2025
Add PySys_GetAttr() function (#143)
vstinner
authored
fde4d34
View commit details
Copy full SHA for fde4d34
View code at this point
Browse repository at this point
Commits on Feb 18, 2025
Don't redefine _Py_NULL macro if already defined (#138)
Show description for 632d1aa
vstinner
authored
632d1aa
View commit details
Copy full SHA for 632d1aa
View code at this point
Browse repository at this point
Commits on Jan 28, 2025
Closes #136: Replace extern with PyAPI_FUNC() (#137)
vstinner
authored
c84545f
View commit details
Copy full SHA for c84545f
View code at this point
Browse repository at this point
Commits on Jan 26, 2025
Avoid Py_ARRAY_LENGTH() (#134)
Show description for 4c53701
vstinner
authored
4c53701
View commit details
Copy full SHA for 4c53701
View code at this point
Browse repository at this point
Fix multiple definitions for Py_fclose (#130)
cdce8p
authored
d24c201
View commit details
Copy full SHA for d24c201
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.