Discussions on Python.org

Core Development   C API


Topic Replies Views Activity
About the C API category 0 514 November 7, 2022
We're out out of type flags, let's add new API for new ones 2 250 August 17, 2026
Add `PyUnstable_InterpreterFrame_GetLocals()`: read a frame’s locals from the interpreter-frame C API 4 195 August 17, 2026
Can Py_buffer format be const qualified? 6 258 August 15, 2026
C API: Add `Py_GetBuildInType` and `Py_GetBuildInTypeBorrowed` 17 735 August 13, 2026
Adding PyMethod_New and/or PyMethod_Type to stable ABI / limited API 0 126 August 9, 2026
Provide a C-API to efficently convert `dict` into `frozendict` 35 1930 July 27, 2026
Dict watchers: the documented callback contract cannot be satisfied (gh-154710) 1 246 July 26, 2026
Clarify object identity semantics for repeated evaluations — literals vs. function calls 23 626 May 22, 2026
Stable ABI for PyCriticalSection 32 1446 March 31, 2026
Let tools know when tracing/profiling is enabled/disabled 5 727 March 30, 2026
Add a contextvars.ContextVar.get_changed() method 1 272 March 30, 2026
Add an Unstable C API for immortalizing objects 10 781 February 11, 2026
Adding C API for use in tp_traverse 34 1551 February 10, 2026
Proper handling of PyList_SetItem return value and reference stealing in CPython C extensions 7 519 February 4, 2026
Stable ABI/Limited API for free-threaded builds 51 2967 January 29, 2026
C-API for initializing statically linked extension modules 35 2994 January 29, 2026
C API for querying whether the GIL is enabled (PyInterpreterState_IsGilEnabled) 14 609 January 19, 2026
C API: How much private is the private _Py_IDENTIFIER() API? 8 1587 December 16, 2025
Bikeshedding: Public function for _PyObject_Dump() 5 494 December 16, 2025
Proposal: Documenting CPython Reference Counting Semantics via Automated Analysis 6 602 December 15, 2025
Frame state always `running` in `sys.setprofile` callback 1 236 October 21, 2025
Inefficiencies in "writer" APIs 32 1397 October 20, 2025
API for special attribute lookup 4 494 October 13, 2025
What do you think of deprecating C APIs to modify immutable strings? 11 928 September 24, 2025
PyUnicode_SubtypeFromData draft 0 246 August 22, 2025
Free-threading: expose atomic operations 10 780 August 8, 2025
_run_exitfuncs in atexit module 2 321 August 4, 2025
PEP 768 and embedding Python 1 433 July 14, 2025
Exposing public APIs for immortal objects 7 737 May 30, 2025

Read the original on discuss.python.org ↗