getappmap / getappmap/appmap-python
Arguments could be captured even when signature is unknown
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 104
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Consider functools.lru_cache; this is a built-in, so signature is not available. However, we still get args and kwargs if we trace the call (as happens often when the decorator is used on a traced class). Currently in the absence of a signature parameters end up being []. I think it's worthwhile to record arguments anyway.
Requires applandinc/appmap#22
For all intents and purposes blocked by #126 -- in CPython native functions are, to my knowledge, the only case where a function signature cannot be obtained. While it might be possible to implement and even test this without that, but it would be pretty useless.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、functools.lru_cache を含むトレースされた呼び出しの引数キャプチャ経路を確認し、次に applandinc/appmap#22 の依存関係とブロッキング issue #126 を確認します。関数シグネチャを利用できない場合でも args と kwargs が記録され、parameters が空のままにならなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100