Skip to content

Allow Subinterpreters on WASI/Emscripten Builds #135190

Open
@ericsnowcurrently

Description

@ericsnowcurrently

Currently using multiple interpreters on WASI and Emscripten builds is disallowed. This is reflected in various places, including configure, the test suite, and the docs. I don't recall why the feature was disallowed (maybe confusion about a relationship with threads?), but there shouldn't be any need to disallow them.

CC @brettcannon

Activity

brettcannon

brettcannon commented on Jun 5, 2025

@brettcannon
Member

Do the tests require processes for any reason? Otherwise I don't remember explicitly turning them off.

freakboy3742

freakboy3742 commented on Jun 5, 2025

@freakboy3742
Contributor

@hoodmane can confirm, but IIRC, on Emscripten, the restriction is the lack of threads (or, at least, the decision to disable the limited thread support that is available on Emscripten because of security and compatibility concerns).

6 remaining items

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesOS-emscriptenOS-wasidocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibPython modules in the Lib dirtestsTests in the Lib/test dirtopic-subinterpreters

    Projects

    Status

    Todo

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Allow Subinterpreters on WASI/Emscripten Builds · Issue #135190 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant