mimetypes.init() fails if no access to one of known files
未關閉
還沒有人認領這個 Issue。
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 558
描述
| BPO | 38672 |
|---|---|
| Nosy | @terryjreedy, @bitdancer, @maxking |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-11-03.12:33:22.008>
labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
title = 'mimetypes.init() fails if no access to one of known files'
updated_at = <Date 2019-11-24.18:34:02.321>
user = 'https://bugs.python.org/MichaSzymaniak'
bugs.python.org fields:
activity = <Date 2019-11-24.18:34:02.321>
actor = 'r.david.murray'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-11-03.12:33:22.008>
creator = 'Micha\xc5\x82 Szymaniak'
dependencies = []
files = []
hgrepos = []
issue_num = 38672
keywords = []
message_count = 4.0
messages = ['355897', '355907', '356260', '357406']
nosy_count = 5.0
nosy_names = ['terry.reedy', 'r.david.murray', 'SilentGhost', 'maxking', 'Micha\xc5\x82 Szymaniak']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38672'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 mimetypes.init() 入口點開始,在無法存取某個已知檔案時重現失敗。追蹤這些檔案的讀取方式,並找出 mimetypes 現有的函式庫測試。完成標準是:初始化不再僅僅因為無法存取某個已知檔案而失敗,並且已新增回歸測試涵蓋範圍。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100