cpython/Include
Bartosz Sławecki 1d4e965829
gh-148587: Make sys.lazy_modules match PEP and keep internal lazy submodules tracking internal (#150086)
Make sys.lazy_modules match PEP and keep internal lazy submodules tracking internal

Co-authored-by: Dino Viehland <dinoviehland@meta.com>
2026-05-28 17:55:47 -07:00
..
cpython gh-148829: Make sentinels' repr and module customizable (#149654) 2026-05-19 09:18:56 -07:00
internal gh-148587: Make sys.lazy_modules match PEP and keep internal lazy submodules tracking internal (#150086) 2026-05-28 17:55:47 -07:00
abstract.h
audit.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytesobject.h
ceval.h
codecs.h
compile.h
complexobject.h
critical_section.h gh-149225: Expose Py_CriticalSection in Stable ABI (GH-149227) 2026-05-04 17:32:17 +02:00
datetime.h gh-141563: Add missing cast to _PyDateTime_IMPORT() (#144667) 2026-02-10 14:47:12 +00:00
descrobject.h gh-41779: Allow defining any __slots__ for a class derived from tuple (GH-141763) 2026-01-06 11:36:00 +02:00
dictobject.h
dynamic_annotations.h
enumobject.h
errcode.h
exports.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
fileobject.h
fileutils.h
floatobject.h
frameobject.h
genericaliasobject.h
import.h gh-149321: Remove lazy_imports=none startup mode (#149389) 2026-05-19 16:01:15 -07:00
intrcheck.h
iterobject.h
listobject.h
longobject.h gh-143869: Add PEP 757 functions to the limited API (#143906) 2026-01-21 14:47:14 +01:00
marshal.h
memoryobject.h
methodobject.h
modsupport.h
moduleobject.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
object.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
objimpl.h
opcode.h
opcode_ids.h GH-143732: SEND specialization (GH-148963) 2026-05-05 15:19:16 +01:00
osdefs.h
osmodule.h
patchlevel.h Python 3.16.0a0 2026-05-07 19:05:52 +03:00
py_curses.h
pyabi.h gh-148690: Build Windows freethreaded binaries into separate directory and include python3t.dll on GIL-enabled (GH-149218) 2026-05-04 17:45:08 +01:00
pyatomic.h
pybuffer.h gh-137696: Rename 'fort' parameter to 'order' in PyBuffer_* functions (#137866) 2026-03-19 16:54:27 +05:30
pycapsule.h
pydtrace.d
pydtrace.h
pyerrors.h gh-142349: Implement PEP 810 - Explicit lazy imports (#142351) 2026-02-12 00:15:33 +00:00
pyexpat.h gh-149018: Use XML_SetHashSalt16Bytes in pyexpat/_elementtree when possible (#149023) 2026-05-10 18:36:26 +01:00
pyframe.h
pyhash.h
pylifecycle.h
pymacconfig.h gh-145633: Remove support for ancient ARM platforms with mixed-endian doubles (#145634) 2026-03-11 12:39:24 +01:00
pymacro.h gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) 2025-12-05 16:24:35 +02:00
pymath.h
pymem.h
pyport.h gh-148850: Fix memory sanitizer false positive in os.getrandom (GH-148851) 2026-05-01 17:37:36 +02:00
pystate.h gh-149101: Implement PEP 788 (GH-149116) 2026-05-06 17:39:30 -04:00
pystats.h
pystrcmp.h
pystrtod.h
Python.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
pythonrun.h
pythread.h
pytypedefs.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
rangeobject.h
README.rst
refcount.h gh-146636: abi3t: Define Py_GIL_DISABLED but do not use it (GH-148142) 2026-04-07 09:06:17 +02:00
setobject.h
sliceobject.h gh-149685: Use the _Py prefix for private C macros (GH-149686) 2026-05-13 19:14:05 +02:00
slots.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
slots_generated.h gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055) 2026-05-05 09:18:04 +02:00
structmember.h
structseq.h gh-149685: Use the _Py prefix for private C macros (GH-149686) 2026-05-13 19:14:05 +02:00
sysmodule.h
traceback.h
tupleobject.h
unicodeobject.h gh-146175: Soft-deprecate outdated macros; convert internal usage (GH-146178) 2026-03-23 12:42:09 +01: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/