[issue43176] Dataclasses derived from empty frozen bases skip immutability checks

Eric V. Smith report at bugs.python.org
Thu May 6 17:51:52 EDT 2021


Eric V. Smith <eric at trueblade.com> added the comment:

Hmm. I think maybe the intent was that if you're frozen, treat all the fields as frozen, including ones you inherit, regardless if the base classes are frozen or not.

----------

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


More information about the Python-bugs-list mailing list