Issue 33175: dataclasses should look up set_name on class, not instance (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/77356

classification

Title: dataclasses should look up __set_name__ on class, not instance
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.8, Python 3.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: eric.smith, miss-islington
Priority: normal Keywords: patch

Created on 2018-03-29 08:11 by eric.smith, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6305 merged eric.smith,2018-03-29 08:36
PR 6309 merged miss-islington,2018-03-29 15:09
Messages (3)
msg314636 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-03-29 08:11
Reported by Jelle Zijlstra at https://github.com/python/cpython/pull/6260#pullrequestreview-107905037
msg314657 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-03-29 15:07
New changeset 521995205a2cb6b504fe0e39af22a81f785350a3 by Eric V. Smith in branch 'master': bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305) https://github.com/python/cpython/commit/521995205a2cb6b504fe0e39af22a81f785350a3
msg314659 - (view) Author: miss-islington (miss-islington) Date: 2018-03-29 15:32
New changeset faa6f5c74ca56d4cc0dd9db78d5c8e864b617d0c by Miss Islington (bot) in branch '3.7': bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305) https://github.com/python/cpython/commit/faa6f5c74ca56d4cc0dd9db78d5c8e864b617d0c
History
Date User Action Args
2022-04-11 14:58:59 admin set github: 77356
2018-03-29 17:33:46 eric.smith set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-03-29 15:32:41 miss-islington set nosy: + miss-islingtonmessages: +
2018-03-29 15:09:16 miss-islington set pull_requests: + <pull%5Frequest6027>
2018-03-29 15:07:53 eric.smith set messages: +
2018-03-29 08:36:26 eric.smith set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest6023>
2018-03-29 08:11:13 eric.smith create