Content-Length: 404039 | pFad | https://github.com/python/cpython/issues/113884

8E Make queue.SimpleQueue thread-safe in `--disable-gil` builds · Issue #113884 · python/cpython · GitHub
Skip to content

Make queue.SimpleQueue thread-safe in --disable-gil builds #113884

@mpage

Description

@mpage

Feature or enhancement

Proposal:

Instances of queue.SimpleQueue have mutable state that is not safe to mutate without the GIL. The previous implementation (in 3.12) was colesbury/nogil-3.12@7e60a01aee.

@colesbury - You mentioned in chat that porting the 3.12 approach wouldn't be straightforward. Can you say more?

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/113884

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy