zipfile should catch ValueError as well as OSError to detect bad seek calls
Đang mở
Chưa có ai nhận issue này.
3.11
stdlib
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| 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']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue này liên quan đến thư viện zipfile của Python và cách thư viện này xử lý các lời gọi seek không hợp lệ. Trước tiên, hãy tìm điểm vào liên quan của phần xử lý lỗi và mọi test liên quan; xác nhận hành vi mong đợi đối với cả OSError và ValueError, sau đó chạy các test zipfile tập trung để xác minh rằng cả hai trường hợp đều được phát hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100