Visitar URL original
cpython/Include at main · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20230610160331/https://github.com/python/cpython/tree/main/Include
Skip to content
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
cpython/Include/
cpython/Include/

Latest commit

When Python is built in debug mode (Py_REF_DEBUG macro), Py_INCREF()
and Py_DECREF() of the limited C API 3.9 (and older) now call
Py_IncRef() and Py_DecRef(), since _Py_IncRef() and _Py_DecRef() were
added to Python 3.10.
7ba0fd9

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 22, 2023 21:15

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