tarfile chokes on reading .tar file with no entries (but does fine if the same file is bzip2'ed)
Đang mở
Chưa có ai nhận issue này.
3.7 (EOL)
stdlib
type-bug
- 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 | 29760 |
|---|---|
| Nosy | @gustaebel, @posita |
| Files |
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-03-08.19:32:09.906>
labels = ['3.7', 'type-bug', 'library']
title = "tarfile chokes on reading .tar file with no entries (but does fine if the same file is bzip2'ed)"
updated_at = <Date 2017-03-10.23:00:48.734>
user = 'https://github.com/posita'
bugs.python.org fields:
activity = <Date 2017-03-10.23:00:48.734>
actor = 'posita'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-03-08.19:32:09.906>
creator = 'posita'
dependencies = []
files = ['46712', '46719']
hgrepos = []
issue_num = 29760
keywords = ['patch']
message_count = 5.0
messages = ['289253', '289265', '289408', '289409', '289417']
nosy_count = 2.0
nosy_names = ['lars.gustaebel', 'posita']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29760'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']
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
Bắt đầu bằng cách tái hiện lỗi được mô tả đối với một tệp lưu trữ .tar rỗng và so sánh với trường hợp tarfail.tar.bz2 đính kèm. Đọc tarfile.patch trong lịch sử để hiểu bối cảnh, sau đó xác minh rằng tarfile xử lý nhất quán cả hai dạng tệp lưu trữ mà không bị lỗi khi gặp một tệp lưu trữ không có mục nào.
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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