]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are namedtuple...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Sep 2018 17:47:14 +0000 (10:47 -0700)
committerEric V. Smith <ericvsmith@users.noreply.github.com>
Fri, 14 Sep 2018 17:47:14 +0000 (13:47 -0400)
commit78aa3d8f5204bc856d7b2eb67288cf90c6a30660
tree1322c0978faa018a523a0563919ca1826c10a512
parentbd979b2d2b30ff2bfa44bdbbaba9d7a30900102c
bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are namedtuples. (GH-9151) (GH-9304)

(cherry picked from commit 9b9d97dd139a799d28ff8bc90d118b1cac190b03)

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-09-10-21-09-34.bpo-34363.YuSb0T.rst [new file with mode: 0644]