dir(<bound method>) should include dunder attributes of the unbound method
Đang mở
Chưa có ai nhận issue này.
3.7 (EOL)
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 | 29117 |
|---|---|
| Nosy | @terryjreedy, @anntzer, @zhangyangyu |
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 2016-12-30.21:51:10.086>
labels = ['interpreter-core', 'type-bug', '3.7']
title = 'dir(<bound method>) should include dunder attributes of the unbound method'
updated_at = <Date 2017-01-06.21:51:15.327>
user = 'https://github.com/anntzer'
bugs.python.org fields:
activity = <Date 2017-01-06.21:51:15.327>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2016-12-30.21:51:10.086>
creator = 'Antony.Lee'
dependencies = []
files = []
hgrepos = []
issue_num = 29117
keywords = []
message_count = 2.0
messages = ['284347', '284859']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'Antony.Lee', 'xiang.zhang']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29117'
versions = ['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 khác biệt đã được báo cáo giữa dir() trên một phương thức đã liên kết và phương thức chưa liên kết của nó, sau đó tìm phần triển khai trong lõi của trình thông dịch và các bài kiểm thử liên quan. Bổ sung độ bao phủ cho các thuộc tính dunder dự kiến và xác nhận rằng kết quả của phương thức đã liên kết bao gồm các thuộc tính đó từ phương thức chưa liên kết.
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
- Khá rõ ràng
- Mức phù hợp với người mới
- 32/100