Skip to content

dataclasses: replace() give poor error message if using InitVar #77986

@ericvsmith

Description

@ericvsmith
BPO 33805
Nosy @ericvsmith, @corona10, @miss-islington
PRs
  • bpo-33805: Improve error message of dataclasses.replace() #7580
  • [3.7] bpo-33805: Improve error message of dataclasses.replace() (GH-7580) #7876
  • 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-06-23.15:28:07.455>
    created_at = <Date 2018-06-08.08:51:39.491>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'dataclasses: replace() give poor error message if using InitVar'
    updated_at = <Date 2018-06-23.15:28:07.454>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2018-06-23.15:28:07.454>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-06-23.15:28:07.455>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-06-08.08:51:39.491>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33805
    keywords = ['patch']
    message_count = 4.0
    messages = ['319036', '319198', '320309', '320311']
    nosy_count = 3.0
    nosy_names = ['eric.smith', 'corona10', 'miss-islington']
    pr_nums = ['7580', '7876']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33805'
    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