]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.GenericAl...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Dec 2021 21:25:43 +0000 (13:25 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 21:25:43 +0000 (13:25 -0800)
commit19050711f5a68e50b942b3b7f1f4cf398f27efff
tree37df214db3f2094eb3af2d0a6700dcdec590380c
parent52a9a71fe682e47f6c78a9c34aa9a797ca632c86
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.GenericAlias (GH-29294)

(cherry picked from commit 446be166861b2f08f87f74018113dd98ca5fca02)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2021-10-28-23-11-59.bpo-45663.J90N5R.rst [new file with mode: 0644]