enthought / enthought/traits

Move _TraitType from traits stubs to the core Traits library

オープン
#1,663 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
component: core component: typing stubs type: enhancement
主要言語
Python
スター
462
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

The [_TraitType](https://github.com/enthought/traits/blob/3e22388e60acca6bb138f54fee06e6f34009c1f3/traits-stubs/traits-stubs/trait_type.pyi#L34) generic class is a potentially useful helper for others writing type declarations. I'd suggest renaming it (at least to remove the `_` prefix) and moving it to a new module `traits.typing`.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

traits-stubs/traits-stubs/trait_type.pyi、特に _TraitType の宣言から始め、続いてコアの Traits パッケージとその公開モジュール構成を調べます。helper に適切な公開名が付けられ、新しい traits.typing モジュールから利用でき、既存の型宣言の動作が維持されれば作業は完了です。

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

評価

技術スタック
python
領域
developer-experience
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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