GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — _xxsubinterpreters.run_string() doesn't allow subthreads to be running still · Issue #105716 · python/cpython

_xxsubinterpreters.run_string() doesn't allow subthreads to be running still #105716

New issue
Copy link
New issue
Copy link
Closed
Closed
_xxsubinterpreters.run_string() doesn't allow subthreads to be running still#105716
Copy link
Assignees
ericsnowcurrently
Labels
3.12only security fixesonly security fixes3.13only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@ericsnowcurrently
ericsnowcurrently
opened on Jun 12, 2023
Issue body actions

Currently _xxsubinterpreters.run_string() fails if the interpreter has other threads running, e.g. subthreads created by a previous run_string() call. This should be fixed to allow other threads to be running.

Linked PRs

  • gh-105716: Support Background Threads in Subinterpreters Consistently #109921
  • [3.12] gh-105716: Support Background Threads in Subinterpreters Consistently (gh-109921) #110707
  • [3.12] gh-105716: Fix "Refleak" Failures in test_interpreters #112500
  • gh-105716: Update interp->threads.main After Fork #117049
  • gh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders #117140

Activity

  1. ericsnowcurrently
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    topic-subinterpreters
    3.12only security fixesonly security fixes
    3.13only security fixesonly security fixes
    on Jun 12, 2023
  2. github-project-automation
    added this to Subinterpreterson Jun 12, 2023
  3. github-project-automation
    moved this to Todo in Subinterpreterson Jun 12, 2023
  4. ericsnowcurrently
    changed the title [-]_xxsubinterpreters module doesn't allow other threads to keep running[/-] [+]_xxsubinterpreters.run_string() doesn't allow subthreads to be running still[/+] on Jun 13, 2023
  5. ericsnowcurrently commented on Sep 26, 2023

    @ericsnowcurrently
    ericsnowcurrently
    on Sep 26, 2023
    MemberAuthor
    More actions

    Related: gh-75698 (ergo gh-81597, gh-83223)

  6. ericsnowcurrently
    self-assigned this
    on Sep 26, 2023
  7. ericsnowcurrently
    added a commit that references this issue on Oct 2, 2023

    gh-105716: Support Background Threads in Subinterpreters Consistently (…

    1dd9dee
  8. ericsnowcurrently
    closed this as completedon Oct 2, 2023
  9. github-project-automation
    moved this from Todo to Done in Subinterpreterson Oct 2, 2023
  10. ericsnowcurrently
    added a commit that references this issue on Oct 11, 2023

    [3.12] pythongh-105716: Support Background Threads in Subinterpreters…

    e19af2c
  11. ericsnowcurrently
    added 2 commits that reference this issue on Nov 28, 2023

    [3.12] gh-105716: Support Background Threads in Subinterpreters Consi…

    0122b4d

    [3.12] gh-105716: Fix Refleaks in test_interpreters (gh-112500)

    5b6858c
  12. ericsnowcurrently
    added 2 commits that reference this issue on Mar 21, 2024

    gh-105716: Update interp->threads.main After Fork (gh-117049)

    5a76d1b

    gh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders (gh-…

    b3d25df
  13. adorilson
    added 2 commits that reference this issue on Mar 25, 2024

    pythongh-105716: Update interp->threads.main After Fork (pythongh-117049

    b7024ec

    pythongh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders (

    811ccad
  14. NGRsoftlab
    added 2 commits that reference this issue on Apr 2, 2024

    Squashed commit of the following:

    1b5fe4c

    Squashed commit of the following:

    a016a54
  15. diegorusso
    added 2 commits that reference this issue on Apr 17, 2024

    pythongh-105716: Update interp->threads.main After Fork (pythongh-117049

    7d6c385

    pythongh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders (

    0ba5b4d
  16. Glyphack
    added a commit that references this issue on Sep 2, 2024

    pythongh-105716: Support Background Threads in Subinterpreters Consis…

    cb5dae5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ericsnowcurrently
    ericsnowcurrently

Labels

3.12only security fixesonly security fixes3.13only security fixesonly security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

  • Subinterpreters
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.