Skip to content

Frozen dataclass __init__ fails for "object" property" #78394

@Omenien

Description

@Omenien
mannequin
BPO 34213
Nosy @ericvsmith, @miss-islington, @VadimPushtaev
PRs
  • bpo-34213: frozen dataclass with "object" attr bug #8452
  • [3.7] bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452) #8745
  • [3.7] bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452) #8746
  • Files
  • frozen_dataclass_init_typeerror.py: Minimal .py demonstrating the error
  • 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-09-10.22:43:33.896>
    created_at = <Date 2018-07-24.18:34:20.201>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Frozen dataclass __init__ fails for "object" property"'
    updated_at = <Date 2018-09-10.22:43:33.895>
    user = 'https://bugs.python.org/Omenien'

    bugs.python.org fields:

    activity = <Date 2018-09-10.22:43:33.895>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-09-10.22:43:33.896>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-07-24.18:34:20.201>
    creator = 'Omenien'
    dependencies = []
    files = ['47710']
    hgrepos = []
    issue_num = 34213
    keywords = ['patch']
    message_count = 4.0
    messages = ['322321', '322332', '323441', '323459']
    nosy_count = 4.0
    nosy_names = ['eric.smith', 'miss-islington', 'Omenien', 'Vadim Pushtaev']
    pr_nums = ['8452', '8745', '8746']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34213'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (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