Add `discover()` method to (all) finders
オープン
まだ誰も着手していません。
stdlib
topic-importlib
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Feature or enhancement
Proposal:
It would be nice to implement discover() for all finders where that can be reasonably achieved.
-
BuiltinImporter -
FrozenImporter -
WindowsRegistryFinder -
PathFinder -
FileFinder -
zipimporter
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、PathFinder と FileFinder の既存の discover() 実装を読み、その後、残りの finder 型である BuiltinImporter、FrozenImporter、WindowsRegistryFinder、zipimporter を調査します。どの finder がこのメソッドを妥当にサポートできるかを判断し、選択した各実装が既存の実装と一貫した動作をすることを確認します。適用可能でまだ確認されていない finder が実装され、プロジェクトの関連テストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100