cpython/Lib/test/test_free_threading
Sam Gross ee12a3482d
[3.13] gh-129967: Fix race condition in repr(set) (gh-129978) (gh-130020)
The call to `PySequence_List()` could temporarily unlock and relock the
set, allowing the items to be cleared and return the incorrect
notation `{}` for a empty set (it should be `set()`).

(cherry picked from commit a7427f2db9)

Co-authored-by: T. Wouters <thomas@python.org>
2025-02-11 18:18:12 -05:00
..
__init__.py
test_code.py [3.13] gh-127020: Make PyCode_GetCode thread-safe for free threading (GH-127043) (GH-127107) 2024-11-21 16:27:36 +00:00
test_dict.py
test_gc.py [3.13] gh-125859: Fix crash when gc.get_objects is called during GC (GH-125882) (GH-125921) 2024-10-24 14:08:15 +00:00
test_list.py
test_monitoring.py [3.13] Fix typos (#123775) (#123866) 2024-10-07 23:44:31 +02: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