]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Jul 2025 14:42:53 +0000 (16:42 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Jul 2025 14:42:53 +0000 (14:42 +0000)
gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042)
(cherry picked from commit 38b936cc9912fc6847265917f94af53f0bf228e9)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
Doc/howto/free-threading-extensions.rst

index c7d1c00cd17d40f3a50c13268a9fc45b723470aa..df94336d2c22d251977d9841dd856aeb1539bf87 100644 (file)
@@ -159,6 +159,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`       |