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: 3 additions & 0 deletions Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Type Objects
error (e.g. no more watcher IDs available), return ``-1`` and set an
exception.

In free-threaded builds, :c:func:`PyType_AddWatcher` is not thread-safe,
so it must be called at start up.
Copy link
Member

@vstinner vstinner Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe: "so it must be called at start up (before spawning the first thread)."


.. versionadded:: 3.12


Expand Down
Loading