python / python/cpython

Define the interface of a CodeLike object

オープン
#117,087 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

interpreter-core type-feature
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

The C API for monitoring (https://github.com/python/cpython/issues/111997) works with code-like objects, so that the user is not required to create a CodeObject where there isn't one already.

We need to define the Python API of a CodeLike so that it's useful for tools that use monitoring. This issue is to define which fields of CodeObject we want to have on a CodeLike.

@markshannon @scoder @nedbat @gaogaotiantian

Linked PRs
  • gh-131414

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、issue 111997 に記載された監視用の C API と、既存の監視ツールが使用する CodeObject フィールドを確認します。Python CodeLike インターフェースに含めるフィールドを定義し、完成したインターフェースを Definition of Done とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend-api-design
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。