]> 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:04:29 +0000 (13:04 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 21:04:29 +0000 (13:04 -0800)
commitabceb66c7e33d165361d8a26efb3770faa721aff
treed8cddf3e05dcc7782cfadedbed4184a8adb9ccb9
parentf1dd5ed1f35a7ed5c3833c822e9965de2400d77e
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]