[ty] Respect mixed positional and keyword arguments in TypedDict constructor by charliermarsh · Pull Request #24448 · astral-sh/ruff (original) (raw)
@AlexWaygood, what do you think?
On one hand, the code in the OP here looks quite reasonable to me, and it's not really clear how else you'd write it.
On the other hand, the ecosystem diff suggests that supporting this has very little impact.
@JelleZijlstra I'm curious if you had specific unsoundnesses in mind which this is likely to allow. It seems like the key thing is just modeling that keyword arguments take precedence over items in the positional argument?