cpython/Lib/test/test_free_threading
Sam Gross 16d2e97cf3
[3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733)
There were a few thread-safety issues when profiling or tracing all
threads via PyEval_SetProfileAllThreads or PyEval_SetTraceAllThreads:

* The loop over thread states could crash if a thread exits concurrently
  (in both the free threading and default build)
* The modification of `c_profilefunc` and `c_tracefunc` wasn't
  thread-safe on the free threading build.
(cherry picked from commit a10152f8fd)
2025-10-09 11:42:47 -04:00
..
__init__.py
test_bisect.py [3.13] GH-116738: document thread-safety of bisect (GH-136555) (#137222) 2025-07-30 11:50:39 +00:00
test_code.py
test_dict.py gh-132869: Fix crash in _PyObject_TryGetInstanceAttribute (#133700) 2025-05-14 12:47:34 +09:00
test_func_annotations.py [3.13] gh-128714: Fix function object races in __annotate__, __annotations__ and __type_params__ in free-threading build (GH-129016) (#129729) 2025-02-23 21:49:55 -05:00
test_gc.py
test_list.py
test_monitoring.py [3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733) 2025-10-09 11:42:47 -04:00
test_set.py [3.13] gh-129967: Fix race condition in repr(set) (gh-129978) (gh-130020) 2025-02-11 18:18:12 -05:00
test_slots.py
test_str.py
test_tokenize.py
test_type.py [3.13] gh-127316: fix incorrect assertion in setting __class__ in free-threading (GH-127399) (#127422) 2024-11-29 16:36:44 +00:00