summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEric V. Smith <ericvsmith@users.noreply.github.com>2018-02-27 01:38:33 (GMT)
committerGitHub <noreply@github.com>2018-02-27 01:38:33 (GMT)
commit2fa6b9eae07e2385e2acbf2e40093a21fb3a10c4 (patch)
tree8f5dfd3eb970c93199bd916e3b7d3dbd02dcf262 /Misc
parent72d9b2be36f091793ae7ffc5ad751f040c6e6ad3 (diff)
downloadcpython-2fa6b9eae07e2385e2acbf2e40093a21fb3a10c4.zip
cpython-2fa6b9eae07e2385e2acbf2e40093a21fb3a10c4.tar.gz
cpython-2fa6b9eae07e2385e2acbf2e40093a21fb3a10c4.tar.bz2
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919)
This restriction will be relaxed at a future date.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-02-26-20-04-40.bpo-32960.48r0Ml.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-02-26-20-04-40.bpo-32960.48r0Ml.rst b/Misc/NEWS.d/next/Library/2018-02-26-20-04-40.bpo-32960.48r0Ml.rst
new file mode 100644
index 0000000..4ad1fa1
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-02-26-20-04-40.bpo-32960.48r0Ml.rst
@@ -0,0 +1,3 @@
+For dataclasses, disallow inheriting frozen from non-frozen classes, and
+also disallow inheriting non-frozen from frozen classes. This restriction
+will be relaxed at a future date.