dataclass defaults behave inconsistently for init=True/init=False when default is a descriptor
Open
@ericvsmith is already working on this.
Since Dec 1, 2019.
3.7 (EOL)
3.8 (EOL)
stdlib
topic-dataclasses
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| 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']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.