]> granicus.if.org Git - python/commit
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Tue, 27 Feb 2018 01:38:33 +0000 (20:38 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Feb 2018 01:38:33 +0000 (20:38 -0500)
commit2fa6b9eae07e2385e2acbf2e40093a21fb3a10c4
tree8f5dfd3eb970c93199bd916e3b7d3dbd02dcf262
parent72d9b2be36f091793ae7ffc5ad751f040c6e6ad3
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.
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2018-02-26-20-04-40.bpo-32960.48r0Ml.rst [new file with mode: 0644]