]> granicus.if.org Git - python/commit
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_fa...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 21 Mar 2018 02:00:23 +0000 (22:00 -0400)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 02:00:23 +0000 (22:00 -0400)
commit8f6eccdc64cab735c47620fea948e64b19f83684
tree0b77e74193fd10e8cae55446300ae7b3c56225f6
parent10b134a07c898c2fbc5fd3582503680a54ed80a2
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_factory (GH-6170)

Fix the way that new annotations in a class are detected.
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst [new file with mode: 0644]