Visitar URL original
Support the old limited C API 3.2 by vstinner · Pull Request #190 · python/pythoncapi-compat · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,9 @@ PyThreadState

See `PyThreadState_GetID() documentation <https://docs.python.org/dev/c-api/init.html#c.PyThreadState_GetID>`__.

Availability: Python 3.7. Not available on PyPy.
Availability: Python 3.7.

Not available on PyPy nor on limited C API 3.8 and older.

PyInterpreterState
^^^^^^^^^^^^^^^^^^
Expand All @@ -818,7 +820,9 @@ PyInterpreterState

See `PyInterpreterState_Get() documentation <https://docs.python.org/dev/c-api/init.html#c.PyInterpreterState_Get>`__.

Not available on limited C API 3.8 and older.
Not available on limited C API 3.8 and older on Unix.

Not available in stable ABI 3.9 and older on Windows.


GC protocol
Expand Down Expand Up @@ -933,7 +937,9 @@ part of the Python C API.

.. c:function:: PyFrameObject* _PyThreadState_GetFrameBorrow(PyThreadState *tstate)

:c:func:`PyThreadState_GetFrame` variant. Not available on PyPy.
:c:func:`PyThreadState_GetFrame` variant.

Not available on PyPy nor with the limited C API 3.8 and older.

Not available on limited C API 3.8 and older.

Expand Down
3 changes: 2 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Changelog
=========

* 2026-10-06: Add functions:
* 2026-10-08: Add support for the limited C API 3.2.
* 2026-10-08: Add functions:

* ``PyImport_ImportModuleAttr()``
* ``PyImport_ImportModuleAttrString()``
Expand Down
Loading
Loading