]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17532)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Dec 2019 16:07:54 +0000 (08:07 -0800)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 9 Dec 2019 16:07:54 +0000 (17:07 +0100)
commit66d7a5d58a88bce312bc4668f2cc54c9488c5bd8
tree9deda59ede64d64fd7e74492da2cdc9d77a809fe
parenta0078d9a3335a5e99afe97590fdcb8e2f526ed7b
bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17532)

(cherry picked from commit d219cc4180e7589807ebbef7421879f095e72a98)

Co-authored-by: Yury Selivanov <yury@magic.io>
Lib/dataclasses.py
Lib/test/dataclass_textanno.py [new file with mode: 0644]
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2018-09-23-14-24-37.bpo-34776.1SrQe3.rst [new file with mode: 0644]