An open API service for providing issue and pull request metadata for open source projects.

GitHub / python/cpython issues and pull requests

Labelled with: topic-C-API

#139691 - gh-111489: Add PyTuple_FromArray() function

Pull Request - State: open - Opened by vstinner 2 months ago
Labels: topic-C-API

#139451 - Document that PyInterpreterState_GetDict returns a borrowed reference

Pull Request - State: open - Opened by encukou 2 months ago
Labels: docs, topic-C-API

#139227 - `_PyImport_SwapPackageContext` would be helpful if exposed

Issue - State: open - Opened by ZeroIntensity 3 months ago
Labels: type-feature, topic-C-API, 3.14, 3.15

#139165 - Expose Py_SIZE, Py_IS_TYPE, Py_SET_SIZE as functions in the Stable ABI

Issue - State: open - Opened by encukou 3 months ago
Labels: type-feature, topic-C-API

#139119 - [3.13] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)

Pull Request - State: closed - Opened by miss-islington 3 months ago
Labels: docs, sprint, skip issue, awaiting merge, skip news, topic-subinterpreters, topic-C-API

#139118 - [3.14] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)

Pull Request - State: closed - Opened by miss-islington 3 months ago
Labels: docs, sprint, skip issue, awaiting review, skip news, topic-subinterpreters, topic-C-API

#139117 - Document `Py_AddPendingCall()` change with subinterpreters in 3.12

Pull Request - State: closed - Opened by ZeroIntensity 3 months ago
Labels: sprint, skip issue, skip news, topic-subinterpreters, topic-C-API, needs backport to 3.13, needs backport to 3.14

#138886 - Remove deprecated `PySys_ResetWarnOptions` C-API function

Issue - State: closed - Opened by sobolevn 3 months ago - 2 comments
Labels: type-feature, interpreter-core, topic-C-API

#138657 - [3.14] gh-138644: Update c-api docs of `PyInterpreterState` about PEP-684 (GH-138651)

Pull Request - State: closed - Opened by miss-islington 3 months ago
Labels: docs, awaiting merge, skip news, topic-subinterpreters, topic-C-API

#138361 - `PyArg_Parse`: Provide `N` as new format unit for non negative `Py_ssize_t`

Issue - State: closed - Opened by wiomoc 3 months ago - 9 comments
Labels: type-feature, interpreter-core, topic-C-API, pending

#138342 - Avoid boilerplate for traversing a mutable heap type

Issue - State: open - Opened by ZeroIntensity 3 months ago
Labels: extension-modules, topic-C-API, type-refactor

#138098 - PyDict_Next documentation should mention strong references when using a critical section in the free-threading build

Issue - State: closed - Opened by eendebakpt 4 months ago - 1 comment
Labels: docs, topic-C-API, topic-free-threading

#137956 - Guard against non-free-threaded extensions in free-threaded builds

Issue - State: open - Opened by encukou 4 months ago
Labels: topic-C-API, topic-free-threading

#137744 - Add support for Include What You Use/Clang Include Cleaner in Python.h

Issue - State: closed - Opened by EugeneZelenko 4 months ago - 7 comments
Labels: type-feature, interpreter-core, topic-C-API

#137210 - Add a struct, slot & function for checking an extension's ABI

Issue - State: closed - Opened by encukou 4 months ago - 1 comment
Labels: type-feature, interpreter-core, topic-C-API

#136610 - [3.14] Docs: Fix and improve the `PyUnstable_Object_EnableDeferredRefcount` documentation (GH-135323)

Pull Request - State: closed - Opened by miss-islington 5 months ago
Labels: docs, skip issue, awaiting merge, skip news, topic-C-API

#136288 - `_testcapi` has invalid usage of `PyType_GetName`

Issue - State: closed - Opened by ZeroIntensity 5 months ago - 1 comment
Labels: type-bug, tests, topic-C-API

#136277 - gh-133644: Remove `PySys_SetArgv*` for 3.15

Pull Request - State: open - Opened by xuantengh 5 months ago - 2 comments
Labels: awaiting review, topic-C-API

#136209 - No Sphinx markup for PyExc_*

Issue - State: closed - Opened by encukou 5 months ago
Labels: docs, topic-C-API

#136075 - [3.13] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: docs, awaiting merge, skip news, topic-C-API

#136003 - Some pre-finalization callbacks can create other callbacks

Issue - State: open - Opened by ZeroIntensity 6 months ago - 2 comments
Labels: type-bug, interpreter-core, topic-C-API

#135972 - [3.14] gh-135755: Move `PyFunction_GET_BUILTINS` to the private API (GH-135938)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: skip news, topic-C-API

#135938 - gh-135755: Move `PyFunction_GET_BUILTINS` to the private API

Pull Request - State: closed - Opened by ZeroIntensity 6 months ago - 2 comments
Labels: skip news, topic-C-API

#135934 - gh-135755: Document the new `PyFunction_GET_BUILTINS` macro

Pull Request - State: open - Opened by ZeroIntensity 6 months ago
Labels: docs, skip news, topic-C-API, needs backport to 3.14

#135934 - gh-135755: Document the new `PyFunction_GET_BUILTINS` macro

Pull Request - State: closed - Opened by ZeroIntensity 6 months ago - 1 comment
Labels: docs, awaiting core review, skip news, topic-C-API, needs backport to 3.14

#135928 - gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers

Pull Request - State: open - Opened by vstinner 6 months ago
Labels: skip news, topic-C-API, needs backport to 3.14

#135928 - gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers

Pull Request - State: open - Opened by vstinner 6 months ago - 3 comments
Labels: awaiting merge, skip news, topic-C-API, needs backport to 3.14

#135762 - gh-135755: Docs: C API: Document missing `PyFunction_GET*` macros

Pull Request - State: closed - Opened by ZeroIntensity 6 months ago - 5 comments
Labels: docs, awaiting merge, skip news, topic-C-API, needs backport to 3.13, needs backport to 3.14

#135758 - [3.13] Docs: Document `PyExceptionClass` functions in the C API (GH-135697)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: docs, skip issue, awaiting merge, skip news, topic-C-API

#135755 - Undocumented 3.14 C API

Issue - State: closed - Opened by encukou 6 months ago - 17 comments
Labels: docs, topic-C-API, 3.14

#135702 - [3.13] Document that PyType_GetModuleByDef returns a borrowed reference (GH-135666)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: skip issue, awaiting review, skip news, topic-C-API

#135679 - Crash with Python 3.12 via Boost Python On Concurrent Thread

Issue - State: closed - Opened by jholbrook-kv 6 months ago - 1 comment
Labels: type-crash, topic-C-API

#135323 - Docs: Fix and improve the `PyUnstable_Object_EnableDeferredRefcount` documentation

Pull Request - State: closed - Opened by ZeroIntensity 6 months ago
Labels: docs, skip issue, awaiting merge, skip news, topic-C-API, needs backport to 3.14

#135323 - Docs: Fix and improve the `PyUnstable_Object_EnableDeferredRefcount` documentation

Pull Request - State: open - Opened by ZeroIntensity 6 months ago
Labels: docs, skip issue, awaiting review, skip news, topic-C-API, needs backport to 3.14

#135221 - [3.13] Docs: Update `PyExc_*` tables in the c-api documentation (GH-131640)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: skip issue, awaiting review, skip news, topic-C-API

#135220 - [3.14] Docs: Update `PyExc_*` tables in the c-api documentation (GH-131640)

Pull Request - State: closed - Opened by miss-islington 6 months ago
Labels: skip issue, awaiting review, skip news, topic-C-API

#135183 - MSVC 5274 warning suppression for _Py_ALIGN_AS should be local

Issue - State: open - Opened by encukou 6 months ago
Labels: type-bug, topic-C-API

#135134 - [3.13] gh-134989: Implement PyObject_DelAttr() as a macro in the limited C API (GH-135021)

Pull Request - State: closed - Opened by vstinner 6 months ago
Labels: awaiting core review, topic-C-API

#135075 - [C API] Deprecate calling PyObject_SetAttr(obj, attr, NULL) with an exception set

Issue - State: closed - Opened by vstinner 6 months ago - 2 comments
Labels: type-feature, interpreter-core, topic-C-API

#135072 - Creating C Modules for free-threaded interpreter

Issue - State: closed - Opened by matj-sag 6 months ago - 3 comments
Labels: type-bug, topic-C-API, topic-free-threading

#135021 - gh-134989: Implement PyObject_DelAttr() as a macro in the limited C API

Pull Request - State: closed - Opened by vstinner 6 months ago - 1 comment
Labels: awaiting merge, topic-C-API, needs backport to 3.13, needs backport to 3.14

#134989 - Issue with `PyObject_DelAttr[String]` in stable ABI builds targeting older CPython versions

Issue - State: closed - Opened by wjakob 6 months ago - 7 comments
Labels: type-bug, interpreter-core, topic-C-API

#134891 - Add `PyUnstable_Unicode_GET_CACHED_HASH`

Issue - State: closed - Opened by encukou 7 months ago
Labels: type-feature, topic-C-API

#134792 - [3.13] gh-133678: Document C API third party tools (GH-134526)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, awaiting review, skip news, topic-C-API

#134526 - gh-133678: Document C API third party tools

Pull Request - State: open - Opened by vstinner 7 months ago - 1 comment
Labels: docs, awaiting core review, skip news, topic-C-API

#134526 - gh-133678: Document C API third party tools

Pull Request - State: closed - Opened by vstinner 7 months ago - 1 comment
Labels: docs, awaiting core review, skip news, topic-C-API

#134457 - Type of vectorcall nargs inconsistent

Issue - State: open - Opened by rogerbinns 7 months ago - 2 comments
Labels: type-bug, topic-C-API

#134427 - [3.13] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, awaiting review, skip news, topic-C-API

#134187 - [3.13] document `Py_VISIT` as a macro in the docs (GH-133688)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, skip issue, awaiting merge, skip news, topic-C-API

#134141 - Add notes on nogil & reinitialization to the Opt-Out section in Module Isolation HOWTO

Pull Request - State: open - Opened by encukou 7 months ago - 5 comments
Labels: docs, skip issue, awaiting core review, skip news, topic-C-API

#134141 - Add notes on nogil & reinitialization to the Opt-Out section in Module Isolation HOWTO

Pull Request - State: closed - Opened by encukou 7 months ago - 5 comments
Labels: docs, skip issue, awaiting core review, skip news, topic-C-API

#134130 - [3.14] Docs: C API: Improve documentation around non-Python threads with subinterpreters (GH-131087)

Pull Request - State: closed - Opened by miss-islington 7 months ago
Labels: docs, skip issue, skip news, topic-subinterpreters, topic-C-API

#133989 - Mismatch in description of `PyThreadState_Delete` and `PyThreadState_DeleteCurrent`

Issue - State: closed - Opened by AlexanderWells-diamond 7 months ago - 2 comments
Labels: docs, topic-C-API

#133900 - [3.13] Docs: C API: Fix the incorrect `PyThreadState_Swap` documentation

Pull Request - State: open - Opened by ZeroIntensity 7 months ago
Labels: docs, skip issue, awaiting review, skip news, topic-C-API

#133900 - [3.13] Docs: C API: Fix the incorrect `PyThreadState_Swap` documentation

Pull Request - State: open - Opened by ZeroIntensity 7 months ago
Labels: skip issue, topic-C-API

#133688 - Make it clear Py_VISIT is a macro in the docs

Pull Request - State: closed - Opened by da-woods 7 months ago - 2 comments
Labels: docs, skip issue, awaiting merge, skip news, topic-C-API, needs backport to 3.13, needs backport to 3.14

#133679 - gh-133678: Add a banner to C API doc to recommend 3rd party tools

Pull Request - State: closed - Opened by vstinner 7 months ago - 10 comments
Labels: docs, awaiting core review, skip news, topic-C-API

#133678 - [C API] Add a banner to the C API documentation to recommend tools

Issue - State: closed - Opened by vstinner 7 months ago - 3 comments
Labels: type-feature, docs, topic-C-API

#133644 - Remove deprecated C API objects slated for removal in 3.15

Issue - State: open - Opened by picnixz 7 months ago
Labels: interpreter-core, topic-C-API, 3.15

#133304 - test_pack_unpack_roundtrip_for_nans failing on RISC-V buildbot

Issue - State: closed - Opened by furkanonder 7 months ago - 5 comments
Labels: type-bug, tests, topic-C-API

#133264 - Py_Main and Py_RunMain SystemExit documentation does not match actual behavior

Issue - State: closed - Opened by mhsmith 7 months ago - 10 comments
Labels: docs, topic-C-API

#133166 - PyType_GetModuleByDef can return NULL without exception set

Issue - State: closed - Opened by iritkatriel 8 months ago - 3 comments
Labels: type-bug, interpreter-core, topic-C-API

#133164 - Add a C API function to detect temporaries

Issue - State: closed - Opened by ngoldbaum 8 months ago - 3 comments
Labels: type-feature, interpreter-core, topic-C-API

#133157 - UBsan: Remove _Py_NO_SANITIZE_UNDEFINED

Issue - State: open - Opened by encukou 8 months ago
Labels: type-bug, topic-C-API

#133149 - [3.13] gh-46236: Document `PyUnicodeIter_Type` (GH-132925)

Pull Request - State: closed - Opened by StanFromIreland 8 months ago - 1 comment
Labels: docs, awaiting review, skip news, topic-C-API

#133144 - gh-133140: Add `PyUnstable_Object_IsUniquelyReferenced` for free-threading

Pull Request - State: closed - Opened by ZeroIntensity 8 months ago - 1 comment
Labels: awaiting merge, topic-C-API, topic-free-threading

#133144 - gh-133140: Add `PyUnstable_Object_IsUniquelyReferenced` for free-threading

Pull Request - State: open - Opened by ZeroIntensity 8 months ago - 1 comment
Labels: awaiting review, topic-C-API, topic-free-threading

#133140 - Adding an unstable C API for unique references

Issue - State: closed - Opened by ZeroIntensity 8 months ago - 15 comments
Labels: type-feature, interpreter-core, topic-C-API, topic-free-threading

#133079 - Remove Py_C_RECURSION_LIMIT & PyThreadState.c_recursion_remaining

Issue - State: closed - Opened by encukou 8 months ago - 3 comments
Labels: type-feature, interpreter-core, topic-C-API

#132925 - gh-46236: Document `PyUnicodeIter_Type`

Pull Request - State: closed - Opened by StanFromIreland 8 months ago
Labels: docs, awaiting review, skip news, topic-C-API, needs backport to 3.13

#132909 - Possible (benign) overflow for 'K' format code in `do_mkvalue`

Issue - State: closed - Opened by picnixz 8 months ago - 1 comment
Labels: type-bug, interpreter-core, topic-C-API

#132798 - Schedule removal of PyUnicode_AsDecoded/Encoded functions

Issue - State: closed - Opened by StanFromIreland 8 months ago - 5 comments
Labels: type-bug, interpreter-core, topic-C-API

#132629 - Deprecate accepting out of range values for unsigned integers in PyArg_Parse

Issue - State: open - Opened by serhiy-storchaka 8 months ago
Labels: type-feature, topic-C-API, 3.14

#132454 - 3.14a7 regression: Segfault with PyQt6 in _Py_TYPE

Issue - State: closed - Opened by The-Compiler 8 months ago - 7 comments
Labels: interpreter-core, type-crash, topic-C-API, 3.14

#132346 - Reference counting related regression in Python 3.14a7?

Issue - State: closed - Opened by wjakob 8 months ago - 6 comments
Labels: type-bug, topic-C-API, pending, 3.14

#132247 - gh-132246: Add special buffer methods to C API Type Object docs

Pull Request - State: closed - Opened by cmaloney 8 months ago - 2 comments
Labels: docs, awaiting core review, skip news, topic-C-API, needs backport to 3.13, needs backport to 3.14

#132247 - gh-132246: Add special buffer methods to C API Type Object docs

Pull Request - State: open - Opened by cmaloney 8 months ago - 2 comments
Labels: docs, awaiting core review, skip news, topic-C-API, needs backport to 3.13, needs backport to 3.14

#132246 - Add PEP 688 special buffer methods to C API Type Object and Buffer Protocol docs

Issue - State: closed - Opened by cmaloney 8 months ago - 1 comment
Labels: docs, topic-C-API

#131740 - PyUnstable_GC_VisitObjects should traverse the permanent generation as well

Issue - State: closed - Opened by martindemello 9 months ago - 2 comments
Labels: type-bug, interpreter-core, topic-C-API

#131704 - Add PyNumber_Complex() and PyComplex_FromString() functions

Issue - State: open - Opened by skirpichev 9 months ago
Labels: type-feature, topic-C-API

#131597 - gh-90120: Specify UTF-8 encoding in `PyModule_AddString{Constant,Macro}` docs

Pull Request - State: open - Opened by dan-wilton 9 months ago - 1 comment
Labels: docs, awaiting review, skip news, topic-C-API, needs backport to 3.13, needs backport to 3.14

#131510 - Deprecate PyASCIIObject/PyUnicodeObject

Issue - State: open - Opened by encukou 9 months ago
Labels: type-feature, topic-C-API

#131459 - [3.12] Docs: Fix documentation for "PyTypeObject Definition" (GH-130936)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: docs, skip issue, awaiting review, skip news, topic-C-API

#131458 - [3.13] Docs: Fix documentation for "PyTypeObject Definition" (GH-130936)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: docs, skip issue, awaiting review, skip news, topic-C-API

#131354 - Breaking change Python 3.13/3/11

Issue - State: closed - Opened by sjoerd0301 9 months ago - 10 comments
Labels: type-bug, interpreter-core, topic-C-API, pending

#131346 - [Python-C] _PyThreadState_UncheckedGet() changed behavior in python 3.12 and code from 3.11 no longer works

Issue - State: closed - Opened by AnnaAraslanova 9 months ago - 5 comments
Labels: interpreter-core, topic-C-API, pending, 3.12, 3.13, 3.14

#131339 - PyBytes_Size test for a zero-size bytes object

Issue - State: closed - Opened by nybblista 9 months ago
Labels: type-feature, tests, interpreter-core, topic-C-API

#131267 - Clarify the Purpose of the PyGILState API and Identify Better Alternatives

Issue - State: open - Opened by ericsnowcurrently 9 months ago
Labels: docs, topic-C-API, 3.12, 3.13, 3.14

#131265 - Deprecate and Then Remove PyGILState_GetThisThreadState()

Issue - State: open - Opened by ericsnowcurrently 9 months ago
Labels: type-feature, topic-C-API, 3.14

#131264 - Rename PyGILState_Check()

Issue - State: open - Opened by ericsnowcurrently 9 months ago
Labels: type-feature, topic-C-API, 3.14

#131225 - [3.13] gh-130814: Enhance documentation for Python C API type objects (GH-130817)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: awaiting review, skip news, topic-C-API

#131224 - [3.12] gh-130814: Enhance documentation for Python C API type objects (GH-130817)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: awaiting review, skip news, topic-C-API

#131087 - Docs: C API: Improve documentation around non-Python threads with subinterpreters

Pull Request - State: closed - Opened by ZeroIntensity 9 months ago - 5 comments
Labels: docs, skip issue, awaiting merge, skip news, topic-subinterpreters, topic-C-API, needs backport to 3.14

#131087 - Docs: C API: Improve documentation around non-Python threads with subinterpreters

Pull Request - State: closed - Opened by ZeroIntensity 9 months ago - 8 comments
Labels: docs, skip issue, skip news, topic-subinterpreters, topic-C-API

#131079 - [3.13] gh-129675: Update documentation for tp_basicsize & tp_itemsize (GH-129850)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: docs, awaiting review, skip news, topic-C-API

#131078 - [3.12] gh-129675: Update documentation for tp_basicsize & tp_itemsize (GH-129850)

Pull Request - State: closed - Opened by miss-islington 9 months ago
Labels: docs, awaiting review, skip news, topic-C-API

#130947 - PyQt6 uses PySequence_Fast() which was removed from the limited C API 3.14

Issue - State: closed - Opened by vstinner 9 months ago - 3 comments
Labels: type-bug, interpreter-core, topic-C-API, 3.14

#130940 - Backport of `PyConfig.use_system_logger` has changed ABI in a patch 3.13.1 -> 3.13.2

Issue - State: closed - Opened by davidhewitt 9 months ago - 19 comments
Labels: type-bug, OS-mac, deferred-blocker, topic-C-API, OS-ios

#130936 - Docs: Fix documentation for "PyTypeObject Definition"

Pull Request - State: closed - Opened by koyuki7w 9 months ago
Labels: docs, skip issue, awaiting core review, skip news, topic-C-API, needs backport to 3.12, needs backport to 3.13

#130824 - PyLong_AsLongAndOverflow does not guarantee overflow is -1 when value is -1

Issue - State: closed - Opened by yijan4845 9 months ago - 3 comments
Labels: type-bug, tests, topic-C-API