Skip to content

Pickle fails on frozen dataclass that has slots #80605

@drhagen

Description

@drhagen
mannequin
BPO 36424
Nosy @ericvsmith, @MojoVampire, @alessandrocucci, @ZackerySpytz, @drhagen, @isidentical, @jagaudin, @akulakov
PRs
  • bpo-36424: Add support for pickling and unpickling frozen dataclasses #17254
  • bpo-36424: Add support for pickling frozen dataclasses with __slots__ #22459
  • 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 2019-03-25.15:18:08.808>
    labels = ['3.8', 'type-bug', '3.7', '3.9']
    title = 'Pickle fails on frozen dataclass that has slots'
    updated_at = <Date 2021-10-13.13:39:16.680>
    user = 'https://github.com/drhagen'

    bugs.python.org fields:

    activity = <Date 2021-10-13.13:39:16.680>
    actor = 'drhagen'
    assignee = 'eric.smith'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2019-03-25.15:18:08.808>
    creator = 'drhagen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36424
    keywords = ['patch']
    message_count = 4.0
    messages = ['338803', '399007', '401489', '403833']
    nosy_count = 8.0
    nosy_names = ['eric.smith', 'josh.r', 'acucci', 'ZackerySpytz', 'drhagen', 'BTaskaya', 'jagaudin', 'andrei.avk']
    pr_nums = ['17254', '22459']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36424'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions