Clarify usage of type hints in the standard-library modules
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
まず、リンクされた議論とプルリクエストのコメントを確認して現在のポリシーとその根拠を把握し、次に適切な devguide のドキュメントページを見つけます。ガイドが標準ライブラリの型ヒントポリシーを、その根拠と例外を含めて正式に説明していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I think that Alex summarized the issue pretty well:
In general our policy is currently not to add type hints to standard-library modules in the
Lib/directory (there are some exceptions, but they're all pretty specific). I think we still have yet to add some formal documentation around this in the devguide (we really need to!), but you can see some rationales here:
Originally posted by @AlexWaygood in https://github.com/python/cpython/pull/117583#discussion_r1556105954
- 主要言語
- Python
- スター
- 2.1k
- フォーク
- 1k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/devguide のほかの issue
-
type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
topic-building python type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
needs: decision topic-test type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
topic-dev process type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
python/devguide の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
zostera/django-bootstrap4#894 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
use-agent-os/agent-os#3276 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#117848 ·