Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

> TypeError will be raised if a field without a default value follows a field 
> with a default value. This is true either when this occurs in a single class, 
> or as a result of class inheritance.

I think this is a combination of the above statement at end of [0] and 
inheritance following the order of the fields at [1]

[0] https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass
[1] https://docs.python.org/3/library/dataclasses.html#inheritance

----------
nosy: +xtreak

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

Reply via email to