zipfile should catch ValueError as well as OSError to detect bad seek calls
未關閉
還沒有人認領這個 Issue。
3.11
stdlib
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 29468 |
|---|---|
| Nosy | @llllllllll, @FFY00, @iritkatriel |
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 2017-02-07.03:14:05.339>
labels = ['library', '3.11']
title = 'zipfile should catch ValueError as well as OSError to detect bad seek calls'
updated_at = <Date 2021-05-24.18:42:06.427>
user = 'https://github.com/llllllllll'
bugs.python.org fields:
activity = <Date 2021-05-24.18:42:06.427>
actor = 'FFY00'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-02-07.03:14:05.339>
creator = 'llllllllll'
dependencies = []
files = []
hgrepos = []
issue_num = 29468
keywords = []
message_count = 3.0
messages = ['287185', '393314', '394263']
nosy_count = 3.0
nosy_names = ['llllllllll', 'FFY00', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue29468'
versions = ['Python 3.11']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
這個 issue 涉及 Python 的 zipfile 函式庫,以及它對錯誤 seek 呼叫的處理。先找出相關的錯誤處理進入點和所有關聯測試;確認 OSError 和 ValueError 兩種情況的預期行為,然後執行聚焦的 zipfile 測試,以驗證兩種情況都能被偵測到。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100