cpython/Include
2026-10-26 06:20:46 +02:00
..
cpython [3.14] gh-159808: Sync documented C API structs with their headers (GH-159812) (#160083) 2026-10-21 18:57:37 +00:00
internal [3.14] gh-156459: Fix cleanup on error in compiler_set_qualname (GH-156462) (#156575) 2026-10-23 20:35:42 +03:00
abstract.h [3.14] gh-134989: Implement PyObject_DelAttr() as a macro in the limited C API (GH-135021) (#135133) 2025-06-04 13:33:20 +00:00
audit.h [3.14] gh-135755: Use private names (_Py*) for header file guards new in 3.14 (GH-135921) (GH-135976) 2025-07-01 12:37:02 +02:00
bltinmodule.h
boolobject.h [3.14] gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165) (#135178) 2025-06-05 15:35:54 +02:00
bytearrayobject.h
bytesobject.h
ceval.h [3.14] gh-135755: Move SPECIAL_ constants to a private header (GH-135922) (GH-135926) 2025-06-25 13:36:46 +02:00
codecs.h
compile.h
complexobject.h
critical_section.h
datetime.h
descrobject.h
dictobject.h
dynamic_annotations.h [3.14] gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind (GH-150914) (#150963) 2026-06-05 12:37:44 +00:00
enumobject.h
errcode.h
exports.h
fileobject.h
fileutils.h
floatobject.h
frameobject.h
genericaliasobject.h
import.h
intrcheck.h
iterobject.h
listobject.h
lock.h
longobject.h gh-132639: Adds PyLong_AsNativeBytes, PyLong_FromNativeBytes and PyLong_FromUnsignedNativeBytes to the limited API (GH-132640) 2025-04-21 15:59:03 +01:00
marshal.h
memoryobject.h
methodobject.h gh-132097: use a macro for semantically casting function pointers (#132406) 2025-04-18 12:24:34 +02:00
modsupport.h
moduleobject.h
monitoring.h
object.h [3.14] gh-160208: Fix PyObject structure on C++ (#160562) 2026-10-26 01:17:51 +01:00
objimpl.h
opcode.h
opcode_ids.h gh-100239: specialize BINARY_OP/SUBSCR for list-slice (#132626) 2025-05-01 10:28:52 +00:00
osdefs.h
osmodule.h
patchlevel.h Post 3.14.10 2026-10-26 06:18:59 +02:00
py_curses.h [3.14] gh-152502: Detect the curses mouse interface portably (GH-152705) (GH-152734) 2026-07-01 05:33:36 +00:00
pyatomic.h
pybuffer.h
pycapsule.h
pydtrace.d
pydtrace.h
pyerrors.h
pyexpat.h [3.14] gh-149018: Use XML_SetHashSalt16Bytes in pyexpat/_elementtree when possible (GH-149023) 2026-06-09 15:07:36 +01:00
pyframe.h
pyhash.h
pylifecycle.h
pymacconfig.h
pymacro.h [3.14] gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ (#159317) 2026-10-13 22:55:17 +00:00
pymath.h
pymem.h
pyport.h [3.14] gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ (#159317) 2026-10-13 22:55:17 +00:00
pystate.h
pystats.h
pystrcmp.h
pystrtod.h
Python.h [3.14] gh-136823: Update documentation on excluded headers in Python.h (GH-136824) (#137437) 2025-10-07 23:23:33 +05:30
pythonrun.h [3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) (#136173) 2025-07-01 13:44:32 +00:00
pythread.h
pytypedefs.h
rangeobject.h
README.rst
refcount.h [3.14] gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ (#159317) 2026-10-13 22:55:17 +00:00
setobject.h
sliceobject.h
structmember.h
structseq.h
sysmodule.h
traceback.h
tupleobject.h
typeslots.h Revert "gh-133395: add option for extension modules to specialize BINARY_OP/SUBSCR, apply to arrays (#133396)" (#133498) 2025-05-06 13:12:26 +03:00
unicodeobject.h gh-132798: Schedule removal of PyUnicode_AsDecoded/Encoded functions for 3.15 (#132799) 2025-04-25 15:07:41 +02:00
warnings.h
weakrefobject.h

The Python C API
================

The C API is divided into these sections:

1. ``Include/``: Limited API
2. ``Include/cpython/``: CPython implementation details
3. ``Include/cpython/``, names with the ``PyUnstable_`` prefix: API that can
   change between minor releases
4. ``Include/internal/``, and any name with ``_`` prefix: The internal API

Information on changing the C API is available `in the developer guide`_

.. _in the developer guide: https://devguide.python.org/c-api/