cpython/Lib/test/test_free_threading
Sam Gross a10152f8fd
gh-137400: Fix thread-safety issues when profiling all threads (gh-137518)
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.
2025-08-13 14:15:12 -04:00
..
__init__.py
test_bisect.py GH-116738: document thread-safety of bisect (GH-136555) 2025-07-30 02:44:10 +00:00
test_code.py
test_dict.py
test_enumerate.py
test_func_annotations.py
test_functools.py
test_gc.py
test_generators.py gh-133931: Introduce _PyObject_XSetRefDelayed to replace Py_XSETREF (gh-134377) 2025-06-18 08:36:02 +09:00
test_grp.py gh-116738: Make grp module thread-safe (#135434) 2025-07-14 11:18:41 -07:00
test_heapq.py gh-116738: Make grp module thread-safe (#135434) 2025-07-14 11:18:41 -07:00
test_io.py gh-133982: Test _pyio.BytesIO in free-threaded tests (gh-136218) 2025-07-04 11:27:21 +09:00
test_iteration.py
test_itertools.py gh-123471: Make itertools.chain thread-safe (#135689) 2025-06-30 16:36:58 +05:30
test_itertools_combinatoric.py gh-123471: Make itertools.product and itertools.combinations thread-safe (#132814) 2025-06-30 11:31:59 +00:00
test_list.py
test_methodcaller.py
test_monitoring.py gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) 2025-08-13 14:15:12 -04:00
test_pwd.py gh-116738: Make pwd module thread-safe (#136695) 2025-07-17 09:16:01 -07:00
test_races.py
test_reversed.py
test_set.py
test_slots.py
test_str.py
test_syslog.py gh-116738: Make syslog module thread-safe (#136760) 2025-07-21 09:24:42 -07:00
test_tokenize.py
test_type.py gh-133467: fix data race in type_set_name (#137302) 2025-08-01 13:40:40 +00:00
test_zip.py