You're right, the goal of my PR is not to allow specifying keyword-only (or positional-only) `__init__` parameters, but rather the goal is to allow child classes to be defined with non-defaulted fields (with defaulted fields in parent classes). Keyword-only parameters is simply an implementation detail.
I don't know about positional-only parameters, but a more fleshed-out solution would do something similar to `attrs` (as linked above) where the fields can be specified as keyword-only, which then allows non-defaulted fields in child classes as a side-effect. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/7WWIZPGR3TM422GEZFLKIPLAIZVUXETV/ Code of Conduct: http://python.org/psf/codeofconduct/