]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112069: Make sets thread-safe with the GIL disabled (#113800)
authorTomas R <tomas.roun8@gmail.com>
Fri, 8 Mar 2024 21:25:34 +0000 (22:25 +0100)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2024 21:25:34 +0000 (16:25 -0500)
commitc951e25c24910064a4c8b7959e2f0f7c0d4d0a63
tree975e29e0962834e3b389ddd25e65668ab2411778
parent3cdfdc07a9dd39bcd6855b8c104584f9c34624f2
gh-112069: Make sets thread-safe with the GIL disabled (#113800)

This makes nearly all the operations on set thread-safe in the free-threaded build, with the exception of `_PySet_NextEntry` and `setiter_iternext`.

Co-authored-by: Sam Gross <colesbury@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Objects/clinic/setobject.c.h
Objects/setobject.c