Skip to content

Commit

Permalink
gh-112069: Make sets thread-safe with the GIL disabled (#113800)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
3 people committed Mar 8, 2024
1 parent 3cdfdc0 commit c951e25
Show file tree
Hide file tree
Showing 2 changed files with 498 additions and 152 deletions.
171 changes: 164 additions & 7 deletions Objects/clinic/setobject.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c951e25

Please sign in to comment.