We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1cd14b commit 03f3505Copy full SHA for 03f3505
Doc/c-api/type.rst
@@ -82,6 +82,9 @@ Type Objects
82
error (e.g. no more watcher IDs available), return ``-1`` and set an
83
exception.
84
85
+ In free-threaded builds, :c:func:`PyType_AddWatcher` is not thread-safe,
86
+ so it must be called at start up (before spawning the first thread).
87
+
88
.. versionadded:: 3.12
89
90
0 commit comments