Skip to content

Subinterpreter Pending Calls Never Run  #104812

Description

@ericsnowcurrently

A while back we moved the pending calls to PyInterpreterState. Then in 2020 we made it so pending calls would only run in the main thread of the main interpreter. Doing so renders the per-interpreter pending calls state pointless and prevents us from making use of pending calls for subinterpreters.

Linked PRs

Activity

  1. ericsnowcurrently commented on May 23, 2023

    @ericsnowcurrently
    MemberAuthor

    We also need to look at how to handle overflow when the number of pending calls reaches NPENDINGCALLS, whether bumping the number, or moving to a linked list, or something else.

  2. ericsnowcurrently commented on Jun 5, 2023

    @ericsnowcurrently
    MemberAuthor

    maybe related: gh-84412

  3. added 5 commits that reference this issue on Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.12only security fixes3.13only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions