https://github.com/python/cpython/commit/d04394929ba2ccc117c6a14cb34fc56f46786f0b
commit: d04394929ba2ccc117c6a14cb34fc56f46786f0b
branch: main
author: Sam Gross <[email protected]>
committer: colesbury <[email protected]>
date: 2026-01-07T17:34:05Z
summary:

gh-117657: Remove remaining TSan suppressions (gh-143499)

files:
M Tools/tsan/suppressions.txt
M Tools/tsan/suppressions_free_threading.txt

diff --git a/Tools/tsan/suppressions.txt b/Tools/tsan/suppressions.txt
index 6bda5ecd570889..7a32f4e0ba26c5 100644
--- a/Tools/tsan/suppressions.txt
+++ b/Tools/tsan/suppressions.txt
@@ -1,5 +1,10 @@
 # This file contains suppressions for the default (with GIL) build.
-# reference: 
https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
+#
+# Reference: 
https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
+#
+# When adding a suppression, include a comment referencing a GitHub issue
+# that describes how to reproduce the race and includes the relevant TSan
+# output.
 
-# https://gist.github.com/mpage/daaf32b39180c1989572957b943eb665
-thread:pthread_create
+# There are currently no active suppressions. This file is kept so tooling
+# that expects it can still find it.
diff --git a/Tools/tsan/suppressions_free_threading.txt 
b/Tools/tsan/suppressions_free_threading.txt
index 581e9ef26f3c61..f7ce11792e51b9 100644
--- a/Tools/tsan/suppressions_free_threading.txt
+++ b/Tools/tsan/suppressions_free_threading.txt
@@ -1,18 +1,12 @@
-# This file contains suppressions for the free-threaded build. It contains the
-# suppressions for the default build and additional suppressions needed only in
+# This file contains suppressions for the free-threaded build. It includes the
+# default build suppressions plus any additional suppressions needed only in
 # the free-threaded build.
 #
-# reference: 
https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
-
-## Free-threaded suppressions
-
-
-# These entries are for warnings that trigger in a library function, as called
-# by a CPython function.
-
-# These warnings trigger directly in a CPython function.
-
-race_top:_PyObject_TryGetInstanceAttribute
+# Reference: 
https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
+#
+# When adding a suppression, include a comment referencing a GitHub issue
+# that describes how to reproduce the race and includes the relevant TSan
+# output.
 
-# https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40
-thread:pthread_create
+# There are currently no active suppressions. This file is kept so tooling
+# that expects it can still find it.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to