Thanks to visit codestin.com Credit goes to github.com
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 e808531 commit 25275bdCopy full SHA for 25275bd
1 file changed
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