PEP 589 introduces typed dictionaries, but for a fixed set of predefined
keys (similar to struct-like constructs in other languages). In
contrast, I am looking for an arbitrary number of typed keys/value pairs.
For reference, related question on SO:
https://stackoverflow.com/q/69555006/1672565
Best regards,
Sebastian
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/DY5DPGWXLOOP3NQYSD73S53EMTRNKD74/
Code of Conduct: http://python.org/psf/codeofconduct/