Skip to content

RFE: @dataclasses.dataclass(slots=True) doesn't support methods using zero-arg super() #90562

Description

@Tinche
mannequin
BPO46404
Nosy@vstinner, @ericvsmith, @encukou, @ericsnowcurrently, @hynek, @Tinche, @frenzymadness, @sweeneyde

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=Noneclosed_at=Nonecreated_at=<Date2022-01-16.22:48:06.738>labels= ['interpreter-core', 'type-feature', '3.11']
title="RFE: @dataclasses.dataclass(slots=True) doesn't support methods using closures"updated_at=<Date2022-03-28.15:16:37.392>user='https://github.com/Tinche'

bugs.python.org fields:

activity=<Date2022-03-28.15:16:37.392>actor='vstinner'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core']
creation=<Date2022-01-16.22:48:06.738>creator='tinchester'dependencies= []
files= []
hgrepos= []
issue_num=46404keywords= []
message_count=8.0messages= ['410730', '410745', '411462', '415291', '415300', '415303', '416169', '416174']
nosy_count=8.0nosy_names= ['vstinner', 'eric.smith', 'petr.viktorin', 'eric.snow', 'hynek', 'tinchester', 'frenzy', 'Dennis Sweeney']
pr_nums= []
priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue46404'versions= ['Python 3.11']

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-dataclassestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions