Skip to content

Commit 6cd7644

Browse files
committed
Add TSAN suppression for _Py_slot_tp_getattr_hook.
1 parent 8c74a0c commit 6cd7644

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/tsan/suppressions_free_threading.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ race:list_inplace_repeat_lock_held
4141
# PyObject_Realloc internally does memcpy which isn't atomic so can race
4242
# with non-locking reads. See #132070
4343
race:PyObject_Realloc
44+
45+
# This function writes to the tp_getattr slot in an unsafe way.
46+
race:_Py_slot_tp_getattr_hook

0 commit comments

Comments
 (0)