Pickling and copying exceptions doesn't preserve non-__dict__ attributes
Đang mở
Chưa có ai nhận issue này.
3.11
interpreter-core
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 | 30005 |
|---|---|
| Nosy | @avassalotti, @serhiy-storchaka, @iritkatriel |
| Dependencies |
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-04-06.05:59:35.082>
labels = ['interpreter-core', 'type-bug', '3.11']
title = "Pickling and copying exceptions doesn't preserve non-__dict__ attributes"
updated_at = <Date 2021-06-27.21:37:57.332>
user = 'https://github.com/serhiy-storchaka'
bugs.python.org fields:
activity = <Date 2021-06-27.21:37:57.332>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2017-04-06.05:59:35.082>
creator = 'serhiy.storchaka'
dependencies = ['29998']
files = []
hgrepos = []
issue_num = 30005
keywords = []
message_count = 2.0
messages = ['291212', '396602']
nosy_count = 3.0
nosy_names = ['alexandre.vassalotti', 'serhiy.storchaka', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue30005'
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
Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách lần theo hành vi pickling và sao chép ngoại lệ của CPython, đồng thời xem xét issue phụ thuộc bpo-29998 để biết ngữ cảnh liên quan. Được xem là hoàn thành khi các thuộc tính ngoại lệ không nằm trong dict vẫn tồn tại qua cả pickling và sao chép, với kiểm thử hồi quy bao phủ hành vi này.
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100