Skip to content

dataclasses.asdict breaks with defaultdict fields #79721

Closed
@wrmsr

Description

@wrmsr
mannequin
BPO 35540
Nosy @ericvsmith, @ilevkivskyi, @pganssle, @wrmsr, @remilapeyre, @alexcoca, @ryx2, @kwsp
PRs
  • bpo-35540: Add collections.defaultdict support to dataclasses.{asdict,astuple} #11361
  • bpo-35540: Add collections.defaultdict support to dataclasses.{asdict,astuple} #11361
  • bpo-35540: Add collections.defaultdict support to dataclasses.{asdict,astuple} #11361
  • Proof of concept for a class registry in dataclasses.asdict #16356
  • bpo-35540 dataclasses.asdict support defaultdict fields #32056
  • 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 = None
    created_at = <Date 2018-12-19.22:06:44.140>
    labels = ['3.7', 'library']
    title = 'dataclasses.asdict breaks with defaultdict fields'
    updated_at = <Date 2022-03-22.18:28:58.077>
    user = 'https://github.com/wrmsr'

    bugs.python.org fields:

    activity = <Date 2022-03-22.18:28:58.077>
    actor = 'kwsp'
    assignee = 'eric.smith'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-12-19.22:06:44.140>
    creator = 'wrmsr'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35540
    keywords = ['patch', 'patch', 'patch']
    message_count = 6.0
    messages = ['332166', '332741', '353092', '353116', '390850', '405243']
    nosy_count = 8.0
    nosy_names = ['eric.smith', 'levkivskyi', 'p-ganssle', 'wrmsr', 'remi.lapeyre', 'alexcoca', 'greenfish6', 'kwsp']
    pr_nums = ['11361', '11361', '11361', '16356', '32056']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35540'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibPython modules in the Lib dir

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions