Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
Bắt đầu với bản tái hiện x.py được đính kèm và xem xét PR 30112; sau đó đọc phần xử lý trong interpreter-core liên quan đến các lệnh gọi init_subclass bị gián đoạn. Công việc được hoàn tất khi việc gián đoạn được báo cáo không còn tạo ra kết quả isinstance() hoặc issubclass() không chính xác, và hành vi này được bao phủ bởi một bài kiểm thử hồi quy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
| BPO | 38085 |
|---|---|
| Nosy | @rhettinger, @cfbolz, @ambv, @hongweipeng |
| PRs | |
| 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 2019-09-10.09:09:41.066>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = 'Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results'
updated_at = <Date 2021-12-23.20:42:44.132>
user = 'https://bugs.python.org/xitop'
bugs.python.org fields:
activity = <Date 2021-12-23.20:42:44.132>
actor = 'Carl.Friedrich.Bolz'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2019-09-10.09:09:41.066>
creator = 'xitop'
dependencies = []
files = ['50515']
hgrepos = []
issue_num = 38085
keywords = ['patch']
message_count = 9.0
messages = ['351599', '355037', '358966', '381210', '383796', '401784', '401998', '409106', '409107']
nosy_count = 5.0
nosy_names = ['rhettinger', 'Carl.Friedrich.Bolz', 'lukasz.langa', 'hongweipeng', 'xitop']
pr_nums = ['30112']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38085'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 558
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.
Issue khác của python/cpython
-
docs pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
build type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
stdlib topic-email type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Tất cả issue của python/cpython
Issue tương tự
-
area/auth bug comp/agent P3 platform/discord type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#117848 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
bancolombia/sentinel#23 ·
-
test md Đang mởCI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100