dataclass looks up field default value on the class, not the class's __dict__
Đang mở
@ericvsmith đang làm issue này rồi.
Từ ngày 17/6/2021.
3.10
3.11
3.9 (EOL)
stdlib
topic-dataclasses
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 | 44443 |
|---|---|
| Nosy | @ericvsmith |
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 = 'https://github.com/ericvsmith'
closed_at = None
created_at = <Date 2021-06-17.12:34:23.449>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = "dataclass looks up field default value on the class, not the class's __dict__"
updated_at = <Date 2021-06-17.14:07:17.550>
user = 'https://github.com/ericvsmith'
bugs.python.org fields:
activity = <Date 2021-06-17.14:07:17.550>
actor = 'eric.smith'
assignee = 'eric.smith'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-06-17.12:34:23.449>
creator = 'eric.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 44443
keywords = []
message_count = 1.0
messages = ['396000']
nosy_count = 1.0
nosy_names = ['eric.smith']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44443'
versions = ['Python 3.9', 'Python 3.10', '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.
Đánh giá
Issue này chưa được đánh giá.