summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-06 05:31:54 (GMT)
committerGitHub <noreply@github.com>2021-04-06 05:31:54 (GMT)
commitb132be8b43afa739b7eda271b82711d64a83da4f (patch)
tree170e079297320b5ccb5c8eee3c9af0087dfaf853 /Misc
parentbdee2a389e4b10e1c0ab65bbd4fd03defe7b2837 (diff)
downloadcpython-b132be8b43afa739b7eda271b82711d64a83da4f.zip
cpython-b132be8b43afa739b7eda271b82711d64a83da4f.tar.gz
cpython-b132be8b43afa739b7eda271b82711d64a83da4f.tar.bz2
bpo-43176: Fix processing of empty dataclasses (GH-24484)
When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 376ffc6ac491da74920aed1b8e35bc371cb766ac) Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-02-09-07-24-29.bpo-43176.bocNQn.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-02-09-07-24-29.bpo-43176.bocNQn.rst b/Misc/NEWS.d/next/Library/2021-02-09-07-24-29.bpo-43176.bocNQn.rst
new file mode 100644
index 0000000..66a175d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-02-09-07-24-29.bpo-43176.bocNQn.rst
@@ -0,0 +1 @@
+Fixed processing of empty dataclasses. \ No newline at end of file