summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2025-02-11 22:29:27 (GMT)
committerGitHub <noreply@github.com>2025-02-11 22:29:27 (GMT)
commita7427f2db937adb4c787754deb4c337f1894fe86 (patch)
tree8506cb6a4cfb41e5d575b35f052502de3bfb9005 /Python/bytecodes.c
parent1f233f56d6a5216b18e8c3f6b8c14d7e5d62c340 (diff)
downloadcpython-a7427f2db937adb4c787754deb4c337f1894fe86.zip
cpython-a7427f2db937adb4c787754deb4c337f1894fe86.tar.gz
cpython-a7427f2db937adb4c787754deb4c337f1894fe86.tar.bz2
gh-129967: Fix race condition in `repr(set)` (gh-129978)
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()`). Co-authored-by: T. Wouters <thomas@python.org>
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions