cpython/Lib/test/test_free_threading
Sam Gross 4629c2215a
gh-113956: Make intern_common thread-safe in free-threaded build (gh-148886)
Avoid racing with the owning thread's refcount operations when
immortalizing an interned string: if we don't own it and its refcount
isn't merged, intern a copy we own instead. Use atomic stores in
_Py_SetImmortalUntracked so concurrent atomic reads are race-free.
2026-04-23 14:42:57 -04:00
..
__init__.py
test_bisect.py
test_bz2.py gh-116738: Make _bz2 module thread-safe (gh-142756) 2025-12-15 12:47:04 -05:00
test_capi.py
test_code.py gh-144981: Make PyUnstable_Code_SetExtra/GetExtra thread-safe (#144980) 2026-02-20 10:52:18 -08:00
test_collections.py gh-144809: Make deque copy atomic in free-threaded build (gh-144966) 2026-02-20 14:31:58 -05:00
test_cprofile.py
test_csv.py
test_dbm_gnu.py
test_dict.py gh-148393: Use atomic ops on _ma_watcher_tag in free threading build (gh-148397) 2026-04-12 10:40:41 -04:00
test_enumerate.py
test_frame.py gh-144446: Fix some frame object thread-safety issues (gh-144479) 2026-02-06 09:43:36 -05:00
test_func_annotations.py
test_functools.py
test_gc.py gh-142975: During GC, mark frozen objects with a merged zero refcount for destruction (GH-143156) 2025-12-25 16:31:41 +00:00
test_generators.py gh-120321: Make gi_yieldfrom thread-safe in free-threading build (#144292) 2026-01-30 12:20:27 -05:00
test_grp.py
test_heapq.py
test_io.py gh-144777: Fix data races in IncrementalNewlineDecoder (gh-144971) 2026-02-23 09:32:16 -05:00
test_iteration.py
test_itertools.py gh-123471: Make itertools.zip_longest safe in the FT build (#146033) 2026-03-27 19:31:49 +05:30
test_itertools_combinatoric.py
test_json.py
test_list.py gh-145036: Fix data race for list capacity in free-threading (#145365) 2026-03-10 22:00:11 +05:30
test_lzma.py gh-116738: Make lzma module thread-safe (#142947) 2026-01-13 14:02:27 +00:00
test_methodcaller.py
test_mmap.py
test_monitoring.py
test_pwd.py
test_races.py
test_re.py
test_resource.py
test_reversed.py
test_set.py Use threading.Event rather than boolean flag. (gh-142722) 2025-12-14 12:42:11 -08:00
test_slots.py
test_str.py gh-113956: Make intern_common thread-safe in free-threaded build (gh-148886) 2026-04-23 14:42:57 -04:00
test_suggestions.py
test_syslog.py
test_tokenize.py
test_type.py
test_uuid.py
test_zip.py
test_zlib.py