[issue36077] Inheritance dataclasses fields and default init statement

Laurie Opperman report at bugs.python.org
Wed May 6 21:48:03 EDT 2020


Laurie Opperman <laurie_opperman at hotmail.com> added the comment:

Daniel's suggestion (and my PR) introduce a mechanism that is as far as I know almost completely bakwards-compatible. The only issue is if people were wanting (and acting on) a TypeError to be raised on dataclass construction (which I would say is rare to non-existant), and is the issue raised by the original post.

----------

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


More information about the Python-bugs-list mailing list