cpython/Include
Victor Stinner bc67f189fd
bpo-46417: Add _PyType_CAST() macro (GH-30760)
In debug mode, the macro makes sure that its argument is a type using
an assertion.
2022-01-21 21:39:01 +01:00
..
cpython bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
internal bpo-46417: Py_Finalize() clears static types (GH-30743) 2022-01-21 13:06:34 +01:00
abstract.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytesobject.h
ceval.h
code.h
codecs.h
compile.h
complexobject.h
datetime.h
descrobject.h
dictobject.h
dynamic_annotations.h
enumobject.h
errcode.h
exports.h
fileobject.h
fileutils.h
floatobject.h Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208) 2021-12-19 15:05:46 -06:00
frameobject.h
genericaliasobject.h
import.h
intrcheck.h
iterobject.h
listobject.h
longobject.h bpo-35134: Add Include/cpython/longobject.h (GH-29044) 2021-10-19 02:04:52 +02:00
marshal.h bpo-45474: Exclude all of marshal.h if Py_LIMITED_API is defined (GH-29061) 2021-10-20 02:32:14 -07:00
memoryobject.h bpo-46140: take more Py_buffer arguments as const * (GH-30217) 2021-12-22 15:07:46 +02:00
methodobject.h
modsupport.h
moduleobject.h
object.h bpo-46417: Add _PyType_CAST() macro (GH-30760) 2022-01-21 21:39:01 +01:00
objimpl.h
opcode.h bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
osdefs.h
osmodule.h
patchlevel.h Post 3.11.0a4 2022-01-14 21:20:41 +00:00
py_curses.h bpo-46417: Add _PyType_CAST() macro (GH-30760) 2022-01-21 21:39:01 +01:00
pycapsule.h
pydtrace.d
pydtrace.h
pyerrors.h bpo-45292: [PEP 654] add the ExceptionGroup and BaseExceptionGroup classes (GH-28569) 2021-10-23 00:13:46 +01:00
pyexpat.h
pyframe.h
pyhash.h
pylifecycle.h bpo-43931: Export Python version as API data (GH-25577) 2021-12-09 17:52:05 -08:00
pymacconfig.h
pymacro.h bpo-45476: Add _Py_RVALUE() macro (GH-29860) 2021-11-30 12:14:45 +01:00
pymath.h
pymem.h
pyport.h bpo-45569: Change PYLONG_BITS_IN_DIGIT default to 30 (GH-30497) 2022-01-14 18:54:56 +00:00
pystate.h
pystrcmp.h
pystrtod.h
Python.h bpo-39026: Fix Python.h when building with Xcode (GH-29488) 2021-11-23 18:58:57 +01:00
pythonrun.h
pythread.h bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) 2022-01-13 09:46:04 +01:00
rangeobject.h
README.rst
setobject.h
sliceobject.h
structmember.h
structseq.h bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736) 2022-01-21 03:30:20 +01:00
sysmodule.h
token.h
traceback.h
tracemalloc.h
tupleobject.h
typeslots.h
unicodeobject.h bpo-46007: Exclude PyUnicode_CHECK_INTERNED() from limited C API (GH-29987) 2021-12-09 00:58:09 -08:00
warnings.h bpo-35134: Split warnings.h and weakrefobject.h (GH-29042) 2021-10-19 01:31:57 +02:00
weakrefobject.h bpo-35134: Split warnings.h and weakrefobject.h (GH-29042) 2021-10-19 01:31:57 +02:00

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

The C API is divided into three sections:

1. ``Include/``: Limited API
2. ``Include/cpython/``: CPython implementation details
3. ``Include/internal/``: 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/