Skip to content

Add ability to set __slots__ in dataclasses #86435

@ericvsmith

Description

@ericvsmith
BPO 42269
Nosy @ericvsmith, @jstasiak, @MojoVampire, @pbryan, @uriyyo, @Xtrem532, @lcy0321
PRs
  • bpo-42269: Add slots parameter to dataclass decorator #24171
  • 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 2021-05-01.02:15:08.358>
    created_at = <Date 2020-11-05.15:38:14.065>
    labels = ['type-bug', 'library', '3.10']
    title = 'Add ability to set __slots__ in dataclasses'
    updated_at = <Date 2021-05-01.02:15:08.358>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2021-05-01.02:15:08.358>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2021-05-01.02:15:08.358>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2020-11-05.15:38:14.065>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42269
    keywords = ['patch']
    message_count = 7.0
    messages = ['380416', '380734', '380740', '380759', '384690', '392563', '392564']
    nosy_count = 7.0
    nosy_names = ['eric.smith', 'jstasiak', 'josh.r', 'pbryan', 'uriyyo', 'Xtrem532', 'lcy0321']
    pr_nums = ['24171']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42269'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions