gh-112050: Make collections.deque thread-safe in free-threaded builds by mpage · Pull Request #113830 · python/cpython

added 30 commits

December 21, 2023 19:49
Convert most methods on collections.deque to use clinic. This will
allow us to use clinic's `@critical_section` directive when making
deques thread-safe for `--gil-disabled`, simplifying the implementation.
Clear is used only by the GC; no other threads are running.

corona10

@mpage

@mpage mpage mentioned this pull request

Feb 5, 2024

@mpage mpage mentioned this pull request

Feb 13, 2024

erlend-aasland

@mpage

corona10

@yilei yilei mentioned this pull request

Feb 16, 2026