Skip to content
Merged
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion Doc/howto/free-threading-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ Most of the C API is thread-safe, but there are some exceptions.
* **Macros**: Accessor macros like :c:macro:`PyList_GET_ITEM` and
:c:macro:`PyList_SET_ITEM` do not perform any error checking or locking.
These macros are not thread-safe if the container object may be modified
concurrently.
concurrently. Similarly, using the object returned by
:c:func:`PySequence_Fast` concurrently is not thread-safe.
* **Borrowed References**: C API functions that return
:term:`borrowed references <borrowed reference>` may not be thread-safe if
the containing object is modified concurrently. See the section on
Expand Down
Loading