Skip to content

Commit bedca3e

Browse files
crusaderkymiss-islington
authored andcommitted
pythongh-137043: mention PyList_GET_ITEM as unsafe borrowed API in free-threading docs (pythonGH-137042)
(cherry picked from commit 38b936c) Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
1 parent 9ab885e commit bedca3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/howto/free-threading-extensions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ that return :term:`strong references <strong reference>`.
159159
+===================================+===================================+
160160
| :c:func:`PyList_GetItem` | :c:func:`PyList_GetItemRef` |
161161
+-----------------------------------+-----------------------------------+
162+
| :c:func:`PyList_GET_ITEM` | :c:func:`PyList_GetItemRef` |
163+
+-----------------------------------+-----------------------------------+
162164
| :c:func:`PyDict_GetItem` | :c:func:`PyDict_GetItemRef` |
163165
+-----------------------------------+-----------------------------------+
164166
| :c:func:`PyDict_GetItemWithError` | :c:func:`PyDict_GetItemRef` |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy