Eric V. Smith <e...@trueblade.com> added the comment:

> The dataclass doesn't need to know what arguments the parent __init__ 
> accepts. It should consume the arguments it needs to initialize its instance 
> attributes, and forward the rest to the parent __init__.

The generated __init__() uses every parameter to initialize instance attributes 
(if we ignore InitVar). So are you saying it should call the base class with no 
parameters?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43835>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to