Skip to content
Merged
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
gh-137043: mention PyList_GET_ITEM as unsafe borrowed API in free-t…
…hreading docs (GH-137042)

(cherry picked from commit 38b936c)

Co-authored-by: Guido Imperiale <[email protected]>
  • Loading branch information
crusaderky authored and miss-islington committed Jul 23, 2025
commit fdb2b2e459455b5d6e7aa6319f9e56468caad2c3
2 changes: 2 additions & 0 deletions Doc/howto/free-threading-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ that return :term:`strong references <strong reference>`.
+===================================+===================================+
| :c:func:`PyList_GetItem` | :c:func:`PyList_GetItemRef` |
+-----------------------------------+-----------------------------------+
| :c:func:`PyList_GET_ITEM` | :c:func:`PyList_GetItemRef` |
+-----------------------------------+-----------------------------------+
| :c:func:`PyDict_GetItem` | :c:func:`PyDict_GetItemRef` |
+-----------------------------------+-----------------------------------+
| :c:func:`PyDict_GetItemWithError` | :c:func:`PyDict_GetItemRef` |
Expand Down
Loading