Skip to content

dataclasses: make it easier to use user-supplied special methods #76694

@ericvsmith

Description

@ericvsmith
BPO 32513
Nosy @gvanrossum, @ncoghlan, @larryhastings, @ericvsmith, @ilevkivskyi
PRs
  • Misc questions, suggestions, and error corrections for dataclasses #4726
  • bpo-32513: Make it easier to override dunders in dataclasses. #5366
  • bpo-32153: Add unit test for create_autospec with partial function returned in getattr #10398
  • 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-01-28.00:09:26.547>
    created_at = <Date 2018-01-07.17:06:05.599>
    labels = ['type-bug', '3.7']
    title = 'dataclasses: make it easier to use user-supplied special methods'
    updated_at = <Date 2018-11-09.02:30:23.612>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2018-11-09.02:30:23.612>
    actor = 'xtreak'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-01-28.00:09:26.547>
    closer = 'eric.smith'
    components = []
    creation = <Date 2018-01-07.17:06:05.599>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32513
    keywords = ['patch']
    message_count = 25.0
    messages = ['309628', '309976', '309979', '310392', '310394', '310399', '310402', '310404', '310417', '310462', '310463', '310464', '310556', '310569', '310653', '310668', '310760', '310775', '310776', '310830', '310836', '310870', '310871', '310901', '311149']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'ncoghlan', 'larry', 'eric.smith', 'levkivskyi']
    pr_nums = ['4726', '5366', '10398']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32513'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions