Improve import time of various stdlib modules
未關閉
還沒有人認領這個 Issue。
3.16
performance
stdlib
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
Proposal:
Following on from 3.15's https://github.com/python/cpython/issues/137855, further improvements can be made to import times in 3.16.
And rather than deferring imports, we can use lazy imports.
Linked PRs
- gh-154657
- gh-148409
- gh-156567
- gh-156801
- gh-156803
- gh-156841
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先審查六個已連結的 pull request,尤其是 gh-154657 和 gh-148409,因為該 issue 沒有列出任何檔案、模組或測試。利用這些變更來確定標準函式庫中剩餘的匯入時工作及其完成標準;該 issue 本身沒有定義獨立的任務。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- performance
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100