summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_free_threading/test_set.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-129967: Fix race condition in `repr(set)` (gh-129978) (gh-130020)Sam Gross2025-02-111-0/+41
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 a7427f2db937adb4c787754deb4c337f1894fe86) Co-authored-by: T. Wouters <thomas@python.org>