Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BUG: PySequence_fast uses not fully safe with free-threading #28046

Copy link
Copy link
Open
@seberg

Description

@seberg
Issue body actions

I just wrote some code using PySequence_Fast and PySequence_Fast_ITEMS and realized that it is probably not fully safe with free-threading.

So I suspect that we may eventually need to audit it's uses (and maybe similar ones), although I doubt that this is very problematic in practice, you should be able to easily create crashes by mutating a list while passing it to such a function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    00 - Bug39 - free-threadingPRs and issues related to support for free-threading CPython (a.k.a. no-GIL, PEP 703)PRs and issues related to support for free-threading CPython (a.k.a. no-GIL, PEP 703)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.