dataclass defaults behave inconsistently for init=True/init=False when default is a descriptor
未关闭
@ericvsmith 已经在做这个了。
开始于 2019年12月1日。
3.7 (EOL)
3.8 (EOL)
stdlib
topic-dataclasses
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
描述
| BPO | 38947 |
|---|---|
| Nosy | @ericvsmith, @PCManticore, @ilevkivskyi, @iritkatriel |
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 2019-11-30.23:53:26.972>
labels = ['3.7', '3.8', 'type-bug', 'library']
title = 'dataclass defaults behave inconsistently for init=True/init=False when default is a descriptor'
updated_at = <Date 2020-10-18.23:48:06.146>
user = 'https://bugs.python.org/KevinShweh'
bugs.python.org fields:
activity = <Date 2020-10-18.23:48:06.146>
actor = 'iritkatriel'
assignee = 'eric.smith'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-11-30.23:53:26.972>
creator = 'Kevin Shweh'
dependencies = []
files = []
hgrepos = []
issue_num = 38947
keywords = []
message_count = 3.0
messages = ['357669', '378913', '378914']
nosy_count = 6.0
nosy_names = ['falsetru', 'eric.smith', 'Claudiu.Popa', 'levkivskyi', 'Kevin Shweh', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38947'
versions = ['Python 3.7', 'Python 3.8']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。