/
githubmirror
/
cpython
ОбзорДокументацияВойти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
cpython/
Include/
..
cpython

gh-152105: Remove PyUnstable_ExecutableKinds and related macros (GH-155244)

4 дня назад
internal

gh-145685: Remove `_PySeqLock` that is not used anymore (gh-155243)

5 дней назад
Python.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
README.rst

gh-101101: Unstable C API tier (PEP 689) (GH-101102)

3 года назад
abstract.h

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

год назад
audit.h

gh-135755: Use private names (_Py*) for header file guards new in 3.14 (GH-135921)

год назад
bltinmodule.h

these builtins have to be initialized

17 лет назад
boolobject.h

gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165)

год назад
bytearrayobject.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
bytesobject.h

gh-108765: Move standard includes to Python.h (#108769)

3 года назад
ceval.h

gh-135755: Move SPECIAL_ constants to a private header (GH-135922)

год назад
codecs.h

Remove private _PyCodec_Lookup() function (#106269)

3 года назад
compile.h

gh-109596: Ensure repeated rules in the grammar are not allowed and fix incorrect soft keywords (#109606)

3 года назад
complexobject.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
critical_section.h

gh-149225: Expose Py_CriticalSection in Stable ABI (GH-149227)

3 месяца назад
datetime.h

gh-141563: Add missing cast to _PyDateTime_IMPORT() (#144667)

6 месяцев назад
descrobject.h

gh-41779: Allow defining any __slots__ for a class derived from tuple (GH-141763)

7 месяцев назад
dictobject.h

gh-141726: Add PyDict_SetDefaultRef() to the Stable ABI (#141727)

9 месяцев назад
dynamic_annotations.h

gh-150907: Fix dynamic_annotations.h when built with C++ and Valgrind (#150914)

2 месяца назад
enumobject.h

Implement and apply PEP 322, reverse iteration

23 года назад
errcode.h

gh-107450: Check for overflow in the tokenizer and fix overflow test (#110832)

3 года назад
exports.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
fileobject.h

gh-106320: Remove _PyIsSelectable_fd() C API (#107142)

3 года назад
fileutils.h

gh-67341: fix a typo in `Include/fileutils.h` (#136049)

год назад
floatobject.h

gh-141004: soft-deprecate Py_INFINITY macro (#141033)

9 месяцев назад
frameobject.h

bpo-45434: Remove useless space in includes (GH-28963)

5 лет назад
genericaliasobject.h

bpo-44654: Refactor and clean up the union type implementation (GH-27196)

5 лет назад
import.h

gh-149321: Remove lazy_imports=none startup mode (#149389)

3 месяца назад
intrcheck.h

gh-106320: Remove private _PyOS_IsMainThread() function (#108605)

3 года назад
iterobject.h

gh-106320: Remove _PyAnextAwaitable_Type from the public C API (#108597)

3 года назад
listobject.h

gh-114329: Fix PyList_GetItemRef() limited C API definition (#117520)

2 года назад
longobject.h

gh-143869: Add PEP 757 functions to the limited API (#143906)

7 месяцев назад
marshal.h

gh-79315: Add Include/cpython/marshal.h header (#139725)

10 месяцев назад
memoryobject.h

gh-79315: Add Include/cpython/memoryobject.h header (#99723)

4 года назад
methodobject.h

gh-132097: use a macro for semantically casting function pointers (#132406)

год назад
modsupport.h

gh-142225: Fix `PyABIInfo_VAR` macro (GH-142230)

8 месяцев назад
moduleobject.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
object.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
objimpl.h

gh-102013: Move PyUnstable_GC_VisitObjects() to Include/cpython/objimpl.h (#115560)

2 года назад
opcode.h

gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700)

2 года назад
opcode_ids.h

gh-145855: Remove the DELETE_ATTR bytecode (GH-146216)

месяц назад
osdefs.h

gh-108765: Reformat Include/osdefs.h (#108766)

3 года назад
osmodule.h

Issue #29058: All stable API extensions added after Python 3.2 are now available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python version supporting this API.

10 лет назад
patchlevel.h

Python 3.16.0a0

3 месяца назад
py_curses.h

gh-154055: Gate optional curses functions absent on old SVr4 curses (GH-154057)

22 дня назад
pyabi.h

gh-148690: Build Windows freethreaded binaries into separate directory and include python3t.dll on GIL-enabled (GH-149218)

3 месяца назад
pyatomic.h

gh-108724: Add PyMutex and _PyParkingLot APIs (gh-109344)

3 года назад
pybuffer.h

gh-137696: Rename 'fort' parameter to 'order' in PyBuffer_* functions (#137866)

5 месяцев назад
pycapsule.h

gh-108240: Add pycore_capsule.h internal header file (#108596)

3 года назад
pydtrace.d

bpo-36842: Implement PEP 578 (GH-12613)

7 лет назад
pydtrace.h

Fix `pydtrace.d` path comment in `Include/pydtrace.h` (#28539)

4 года назад
pyerrors.h

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

6 месяцев назад
pyexpat.h

gh-149018: Use `XML_SetHashSalt16Bytes` in `pyexpat`/`_elementtree` when possible (#149023)

3 месяца назад
pyframe.h

gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938)

4 года назад
pyhash.h

gh-111545: Add Include/cpython/pyhash.h header file (#112063)

3 года назад
pylifecycle.h

gh-133644: Remove deprecated Python initialization getter functions (#133661)

год назад
pymacconfig.h

gh-145633: Remove support for ancient ARM platforms with mixed-endian doubles (#145634)

5 месяцев назад
pymacro.h

gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548)

8 месяцев назад
pymath.h

gh-141004: soft-deprecate Py_INFINITY macro (#141033)

9 месяцев назад
pymem.h

gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570)

3 года назад
pyport.h

gh-148850: Fix memory sanitizer false positive in os.getrandom (GH-148851)

3 месяца назад
pystate.h

gh-149101: Implement PEP 788 (GH-149116)

3 месяца назад
pystats.h

GH-124284: Add stats for refcount operations on immortal objects (GH-124288)

2 года назад
pystrcmp.h

Merged revisions 59541-59561 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk

19 лет назад
pystrtod.h

gh-106320: Remove private float C API functions (#108430)

3 года назад
pythonrun.h

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

год назад
pythread.h

gh-137884: Added threading.get_native_id() on Illumos/Solaris (GH-137927)

год назад
pytypedefs.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
rangeobject.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
refcount.h

gh-146636: abi3t: Define Py_GIL_DISABLED but do not use it (GH-148142)

4 месяца назад
setobject.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
sliceobject.h

gh-149685: Use the _Py prefix for private C macros (GH-149686)

3 месяца назад
slots.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
slots_generated.h

gh-149044: Implement PEP 820 – PySlot: Unified slot system for the C API (GH-149055)

3 месяца назад
structmember.h

Fix typos in comments (#120188)

2 года назад
structseq.h

gh-149685: Use the _Py prefix for private C macros (GH-149686)

3 месяца назад
sysmodule.h

gh-138886: Remove deprecated `PySys_ResetWarnOptions` C-API function (#138887)

год назад
traceback.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
tupleobject.h

gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

4 года назад
unicodeobject.h

gh-146175: Soft-deprecate outdated macros; convert internal usage (GH-146178)

5 месяцев назад
warnings.h

bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)

5 лет назад
weakrefobject.h

gh-133644: remove `PyWeakref_GetObject` and `PyWeakref_GET_OBJECT` (GH-133657)

год назад
README.rst
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/