Skip to content

dataclasses.field does not preserve empty metadata object #80141

Description

@chrahunt
mannequin
BPO 35960
Nosy @ericvsmith, @chrahunt
PRs
  • bpo-35960: Fix dataclasses.field throwing away empty metadata.  #11815
  • bpo-35960: Fix dataclasses.field throwing away empty metadata.  #11815
  • bpo-35960: Fix dataclasses.field throwing away empty metadata.  #11815
  • [3.7] bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815) #11826
  • 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 2019-02-12.12:12:47.164>
    created_at = <Date 2019-02-11.01:06:54.108>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'dataclasses.field does not preserve empty metadata object'
    updated_at = <Date 2019-02-12.12:12:47.163>
    user = 'https://github.com/chrahunt'

    bugs.python.org fields:

    activity = <Date 2019-02-12.12:12:47.163>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2019-02-12.12:12:47.164>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2019-02-11.01:06:54.108>
    creator = 'chrahunt'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35960
    keywords = ['patch', 'patch', 'patch']
    message_count = 4.0
    messages = ['335184', '335296', '335297', '335298']
    nosy_count = 2.0
    nosy_names = ['eric.smith', 'chrahunt']
    pr_nums = ['11815', '11815', '11815', '11826']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35960'
    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