Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
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
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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
is:issue state:open label:topic-C-API
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
33k
Star
69.2k
Code
Issues
5k+
Pull requests
2.1k
Actions
Projects
28
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Issues
Search Issues
is
:
issue
state
:
open
label
:
topic-C-API
is:issue state:open label:topic-C-API
Search
Labels
Milestones
New issue
Search results
Open
Closed
Python 3.13: PyThreadState_SetAsyncExc might deliver the exception outside of the thread
3.13
bugs and security fixes
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-bug
An unexpected behavior, bug, or error
An unexpected behavior, bug, or error
Status: Open.
#139622
In python/cpython;
·
yilei
opened
on Oct 5, 2025
Avoid blindly shadowing existing exceptions through <code>PyErr_Format</code>
extension-modules
C modules in the Modules dir
C modules in the Modules dir
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-feature
A feature request or enhancement
A feature request or enhancement
Status: Open.
#139447
In python/cpython;
·
picnixz
opened
on Sep 30, 2025
<code>_PyImport_SwapPackageContext</code> would be helpful if exposed
3.14
bugs and security fixes
bugs and security fixes
3.15
new features, bugs and security fixes
new features, bugs and security fixes
topic-C-API
type-feature
A feature request or enhancement
A feature request or enhancement
Status: Open.
#139227
In python/cpython;
·
ZeroIntensity
opened
on Sep 22, 2025
Expose Py_SIZE, Py_IS_TYPE, Py_SET_SIZE as functions in the Stable ABI
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-feature
A feature request or enhancement
A feature request or enhancement
Status: Open.
#139165
In python/cpython;
·
encukou
opened
on Sep 19, 2025
subtype_dealloc for heap types is a footgun
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-bug
An unexpected behavior, bug, or error
An unexpected behavior, bug, or error
Status: Open.
#138870
In python/cpython;
·
da-woods
opened
on Sep 13, 2025
Improve guidelines for GC protocol implementation for heap types
docs
Documentation in the Doc dir
Documentation in the Doc dir
topic-C-API
Status: Open.
#138292
In python/cpython;
·
picnixz
opened
on Aug 31, 2025
Document constants like <code>Py_tp_repr</code>
docs
Documentation in the Doc dir
Documentation in the Doc dir
topic-C-API
Status: Open.
#138189
In python/cpython;
·
encukou
opened
on Aug 27, 2025
Guard against non-free-threaded extensions in free-threaded builds
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
topic-free-threading
type-feature
A feature request or enhancement
A feature request or enhancement
Status: Open.
#137956
In python/cpython;
·
encukou
opened
on Aug 19, 2025
Please document the exact changes you made in how reference counting changed for 3.14 internally for C-API developers
3.14
bugs and security fixes
bugs and security fixes
3.15
new features, bugs and security fixes
new features, bugs and security fixes
docs
Documentation in the Doc dir
Documentation in the Doc dir
extension-modules
C modules in the Modules dir
C modules in the Modules dir
topic-C-API
Status: Open.
#137791
In python/cpython;
·
oddbookworm
opened
on Aug 15, 2025
Allow ABCMeta in PyType_FromMetaclass
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-feature
A feature request or enhancement
A feature request or enhancement
Status: Open.
#137770
In python/cpython;
·
WildCard65
opened
on Aug 14, 2025
Consistently use <code>order</code> naming for <code>PyBuffer_*</code> functions
easy
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-refactor
Code refactoring (with no changes in behavior)
Code refactoring (with no changes in behavior)
Status: Open.
#137696
In python/cpython;
·
nybblista
opened
on Aug 12, 2025
Embedded Python creates a large number of memory leaks when trying to load a non-existent module
performance
Performance or resource usage
Performance or resource usage
topic-C-API
type-bug
An unexpected behavior, bug, or error
An unexpected behavior, bug, or error
Status: Open.
#137005
In python/cpython;
·
GShabanov
opened
on Jul 22, 2025
You can’t perform that action at this time.