Mismatch behaviour in documentation of `email.Message.defects`
未關閉
還沒有人認領這個 Issue。
docs
topic-email
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Documentation
https://docs.python.org/3/library/email.message.html#email.message.EmailMessage.defects
The defects attribute contains a list of all the problems found when parsing this message. See email.errors for a detailed description of the possible parsing defects.
It actually does not include defects in the message headers (#106144, #90169). Until these issues are fixed, the documentation should state that header defects are not included in email.Message.defects.
Linked PRs
- gh-128569
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先從連結的 email.message.EmailMessage.defects 文件和所參照的 email.errors 頁面開始,然後檢視與標頭缺陷相關的 issue。完成的標準是,文件準確說明訊息標頭中的缺陷在這些 issue 修復之前不會包含在 email.Message.defects 中。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 25/100