Chris Barker added the comment:
This does not actually appear to be a Duplicate of #33129.
That one was asking to add **kwargs (I think) to the __init__. And was
discussed and I think rejected on gitHub:
https://github.com/python/cpython/pull/19206
But this calls for having keyword-only
Eric V. Smith added the comment:
Duplicate of #33129.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Add kwarg-only option to dataclass
___
Python tracker
New submission from Eric V. Smith :
I've had several requests for keyword-only arguments. This is a placeholder to
remind me to work on it. I have not decided if it's a good idea or not.
I propose adding a keyword_only argument to field(), defaulting to False.
I'm thinking