spec_set/autospec/spec seems to not be reading attributes defined in class body
Đang mở
Chưa có ai nhận issue này.
3.8 (EOL)
3.9 (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 | 40864 |
|---|---|
| Nosy | @cjw296, @voidspace, @lisroach, @mariocj89, @tirkarthi, @efagerberg |
| PRs |
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-06-04.14:28:47.540>
labels = ['3.8', 'type-bug', 'library', '3.9']
title = 'spec_set/autospec/spec seems to not be reading attributes defined in class body'
updated_at = <Date 2020-10-06.07:17:47.412>
user = 'https://github.com/efagerberg'
bugs.python.org fields:
activity = <Date 2020-10-06.07:17:47.412>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-06-04.14:28:47.540>
creator = 'efagerberg'
dependencies = []
files = []
hgrepos = []
issue_num = 40864
keywords = ['patch']
message_count = 5.0
messages = ['370712', '370713', '370752', '370865', '378076']
nosy_count = 6.0
nosy_names = ['cjw296', 'michael.foord', 'lisroach', 'mariocj89', 'xtreak', 'efagerberg']
pr_nums = ['22572']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40864'
versions = ['Python 3.6', '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
Trước tiên, hãy xem xét python/cpython#22572 và báo cáo về mock spec_set/autospec/spec. Vì payload không nêu tên tệp nguồn hoặc bài kiểm thử nào, hãy xác định component thư viện bị ảnh hưởng và phạm vi kiểm thử hồi quy hiện có của nó; phần hoàn thành cần xử lý các thuộc tính trong thân class như được mô tả trong issue.
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
- testing
- 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
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100