Skip to content

dataclasses.replace broken if a class has any ClassVars #77977

@ljodal

Description

@ljodal
mannequin
BPO 33796
Nosy @ericvsmith, @ned-deily, @miss-islington, @ljodal
PRs
  • bpo-33796: Ignore ClassVar for replace(). #7488
  • [3.7] bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488) #7493
  • 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-07.20:30:17.857>
    created_at = <Date 2018-06-07.14:34:49.831>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'dataclasses.replace broken if a class has any ClassVars'
    updated_at = <Date 2018-06-07.20:30:17.855>
    user = 'https://github.com/ljodal'

    bugs.python.org fields:

    activity = <Date 2018-06-07.20:30:17.855>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-06-07.20:30:17.857>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-06-07.14:34:49.831>
    creator = 'sigurd'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33796
    keywords = ['patch']
    message_count = 9.0
    messages = ['318942', '318948', '318949', '318950', '318955', '318959', '318966', '318970', '318971']
    nosy_count = 4.0
    nosy_names = ['eric.smith', 'ned.deily', 'miss-islington', 'sigurd']
    pr_nums = ['7488', '7493']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33796'
    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