Spec Change : Additional detail and option for platform checks.
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
先從連結的規格提案 PR #2173 開始,然後閱讀 Discussion 和之前的 Q&A 以了解背景。檢視有關可迭代形式、not-in 檢查、實作版本比較和組合檢查的開放問題;當提案反映已解決的決策且 PR 已相應更新時,工作即告完成。
由索引模型根據 Issue 內容生成。
描述
Hello Typing council,
Please consider the proposal in the PR and Discussion below.
The Discussion has overal positive feedback, but did not receive concrete feedback on the refinement and implementation questions posed, so Ill repeat them here so the PR can be adjusted as needed based on the feedback.
Open Questions:
Scope of sys.platform collections:
-
Should typecheckers support any iterable, or limit to tuple or set literals?
Recommend: Only tuple literals; Optionally set literals if feasible for type checkers -
Should typecheckers support not in checks?
Recommend: Yes
sys.implementation attributes:
- Should typecheckers support sys.implementation.version comparisons (similar to sys.version_info)?
No preference.
Combining version, platform, and implementation checks:
- Should typecheckers explicitly allow combined checks , (e.g., if sys.platform == "linux" and sys.implementation.name == "pypy":)?
Recommend: Yes, as long as each individual check is supported. This is not explicitly specified in the proposed text, as the implementation complexity for type checkers needs further assessment.
- 主要語言
- 沒有語言資料
- 星號
- 57
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python/typing-council 的其他 Issue
-
PEP 846未關閉
難度 5/5 一週以上 新手友好度 8/100
python/typing-council#67 · 1 個 reaction ·
-
難度 5/5 一週以上 新手友好度 35/100
python/typing-council#66 ·
-
難度 5/5 一週以上 新手友好度 25/100
python/typing-council#64 ·
-
PEP 718未關閉
難度 5/5 一週以上 新手友好度 35/100
python/typing-council#61 · 2 個 reaction ·
查看 python/typing-council 的全部 Issue
相似的 Issue
-
documentation good first issue
難度 1/5 1 小時以內 新手友好度 88/100
r-afael/better-yt-recommendations#16 ·
維護者通常 1 天內回覆
-
documentation good first issue
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
area:docs documentation good first issue priority:medium
難度 1/5 1 小時以內 新手友好度 78/100
維護者通常 1 天內回覆
-
bug needs-triage
難度 2/5 1-3 小時 新手友好度 68/100
microsoft/microsoft-ui-xaml#12515 · 1 則留言 · 1 個 reaction ·
維護者通常 2 天內回覆
-
Documentation Enhancement
難度 2/5 1-3 小時 新手友好度 72/100
JSPrismarine/JSPrismarine#2706 ·
維護者通常 1 天內回覆