Skip to content

dataclasses: make it an error to have initialized non-fields in a dataclass #76609

Description

@ericvsmith
BPO 32428
Nosy @gvanrossum, @ericvsmith, @ilevkivskyi

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 = <Date 2018-01-06.22:19:35.688>
created_at = <Date 2017-12-26.18:34:08.781>
labels = ['3.7', 'type-bug', 'library']
title = 'dataclasses: make it an error to have initialized non-fields in a dataclass'
updated_at = <Date 2018-01-07.00:17:53.053>
user = 'https://github.com/ericvsmith'

bugs.python.org fields:

activity = <Date 2018-01-07.00:17:53.053>
actor = 'eric.smith'
assignee = 'eric.smith'
closed = True
closed_date = <Date 2018-01-06.22:19:35.688>
closer = 'eric.smith'
components = ['Library (Lib)']
creation = <Date 2017-12-26.18:34:08.781>
creator = 'eric.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 32428
keywords = []
message_count = 12.0
messages = ['309065', '309071', '309075', '309112', '309189', '309416', '309417', '309442', '309443', '309584', '309590', '309591']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'eric.smith', 'levkivskyi']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32428'
versions = ['Python 3.7']

Metadata

Metadata

Assignees

Labels

3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions