Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataclasses should look up __set_name__ on class, not instance #77356

Closed
ericvsmith opened this issue Mar 29, 2018 · 3 comments
Closed

dataclasses should look up __set_name__ on class, not instance #77356

ericvsmith opened this issue Mar 29, 2018 · 3 comments
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ericvsmith
Copy link
Member

BPO 33175
Nosy @ericvsmith, @miss-islington
PRs
  • bpo-33175: dataclasses should look up __set_name__ on class, not instance #6305
  • [3.7] bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305) #6309
  • 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-03-29.17:33:46.346>
    created_at = <Date 2018-03-29.08:11:13.211>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'dataclasses should look up __set_name__ on class, not instance'
    updated_at = <Date 2018-03-29.17:33:46.323>
    user = 'https://github.com/ericvsmith'

    bugs.python.org fields:

    activity = <Date 2018-03-29.17:33:46.323>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2018-03-29.17:33:46.346>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2018-03-29.08:11:13.211>
    creator = 'eric.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33175
    keywords = ['patch']
    message_count = 3.0
    messages = ['314636', '314657', '314659']
    nosy_count = 2.0
    nosy_names = ['eric.smith', 'miss-islington']
    pr_nums = ['6305', '6309']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33175'
    versions = ['Python 3.7', 'Python 3.8']

    @ericvsmith
    Copy link
    Member Author

    Reported by Jelle Zijlstra at #6260 (review)

    @ericvsmith ericvsmith added 3.7 (EOL) end of life 3.8 only security fixes labels Mar 29, 2018
    @ericvsmith ericvsmith self-assigned this Mar 29, 2018
    @ericvsmith ericvsmith added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Mar 29, 2018
    @ericvsmith
    Copy link
    Member Author

    New changeset 5219952 by Eric V. Smith in branch 'master':
    bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)
    5219952

    @miss-islington
    Copy link
    Contributor

    New changeset faa6f5c by Miss Islington (bot) in branch '3.7':
    bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)
    faa6f5c

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants