python / python/cpython

Allow Subinterpreters on WASI/Emscripten Builds

未關閉
#135,190 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.14 3.15 docs interpreter-core OS-emscripten OS-wasi stdlib tests topic-subinterpreters
主要語言
Python
星號
77.2k
分支
35.9k
PR 合併指標
PR 指標待擷取

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先追蹤 configure、測試套件,以及 WASI 和 Emscripten 建置文件中的 subinterpreter 限制。確認該限制存在的原因,並驗證在設定、測試和文件中都一致允許多個直譯器,同時不要將此功能與執行緒混為一談。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, wasm
領域
build-system, documentation, testing
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。