Support efficient sharing of all immutable builtins in sub interpreters
オープン
まだ誰も着手していません。
interpreter-core
topic-subinterpreters
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Feature or enhancement
Proposal:
The interpreters API already supports efficiently sharing of most immutable builtins.
I think it would be useful to extend support to the rest as well:
-
frozensetsimilar to how tuples are handled (#111628) -
frozendictas proposed in #148234 -
complex#157051 - maybe
slice? - maybe
range? -
NotImplementedandEllipsisas implemented in #118965 though might be less useful in practice
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-157051
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
interpreters API の sharing-objects ドキュメントと、#111628、#148234、#157051、#118965 にリンクされている議論から始めてください。どの不変組み込み型がまだサポートされていないか、また各提案がまだスコープ内にあるかを判断してください。完了とは、合意されたオブジェクトを適切なカバレッジで効率的に共有でき、リンクされた PR ですでに対応されている作業を重複させないことを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100