[New-bugs-announce] [issue32960] dataclasses: disallow inheritance between frozen and non-frozen classes

Eric V. Smith report at bugs.python.org
Mon Feb 26 18:41:26 EST 2018


New submission from Eric V. Smith <eric at trueblade.com>:

This is a temporary measure until we can better define how frozen inheritance should work. In the meantime, disallow:

- frozen inherited from non-frozen
- non-frozen inherited from frozen

----------
assignee: eric.smith
components: Library (Lib)
messages: 312972
nosy: eric.smith
priority: normal
severity: normal
status: open
title: dataclasses: disallow inheritance between frozen and non-frozen classes
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32960>
_______________________________________


More information about the New-bugs-announce mailing list