]> granicus.if.org Git - python/commit
bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Mar 2018 15:32:36 +0000 (08:32 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Mar 2018 15:32:36 +0000 (08:32 -0700)
commitfaa6f5c74ca56d4cc0dd9db78d5c8e864b617d0c
tree60e216a5ec9c292df7b2a6682e9d745c8c654eaf
parente557b5c479bd7ffca36f0c1b300e8c795c7a8ab4
bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)

(cherry picked from commit 521995205a2cb6b504fe0e39af22a81f785350a3)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2018-03-29-04-32-25.bpo-33175._zs1yM.rst [new file with mode: 0644]