Cryptic error message when creating types that don't include themselves in their MRO
Đang mở
Chưa có ai nhận issue này.
3.11
3.12
3.13
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 | 39665 |
|---|---|
| Nosy | @serhiy-storchaka, @pppery |
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 2020-02-17.17:00:26.647>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = "Cryptic error message when creating types that don't include themselves in their MRO"
updated_at = <Date 2020-03-26.00:03:35.085>
user = 'https://github.com/pppery'
bugs.python.org fields:
activity = <Date 2020-03-26.00:03:35.085>
actor = 'ppperry'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-02-17.17:00:26.647>
creator = 'ppperry'
dependencies = []
files = []
hgrepos = []
issue_num = 39665
keywords = []
message_count = 2.0
messages = ['362152', '362154']
nosy_count = 2.0
nosy_names = ['serhiy.storchaka', 'ppperry']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39665'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
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 không nêu tệp nguồn hay bài kiểm thử nào; hãy bắt đầu bằng cách tái hiện trường hợp tạo kiểu được mô tả trong BPO 39665 và kiểm tra đường dẫn interpreter-core tạo ra lỗi MRO khó hiểu. Công việc được xem là hoàn tất khi cùng một định nghĩa kiểu không hợp lệ báo cáo một lỗi rõ ràng, có thể xử lý được mà không thay đổi hành vi tạo kiểu hợp lệ.
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
- compilers
- 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
- 35/100