> Further, if I want a point to be an object containing fields for "x" and "y", I'd much rather just use a dict rather than construct an object in some incompatible inheritance nightmare.
That’s what Protocols are for
That’s what Protocols are for
See this for dataclasses: https://github.com/python/mypy/issues/5374#issuecomment-8841....