17 Nov
2020
17 Nov
'20
8:25 p.m.
On 11/15/20 12:11 AM, Steven D'Aprano wrote:
It would be good if the PEP gave a survey of the practical experience of other languages with pattern matching:
- are there languages which require an exact match, with no left over keys? what issues, if any, do users have with that choice?
- which languages ignore extra keys? do users of those languages consider this feature a bug, a wart, or a feature?
If useful I can volunteer to conduct such a survey. I expect to have some cycles this coming weekend. -- David Foster | Seattle, WA, USA Contributor to TypedDict support for mypy