On May 4, 2016 10:59 AM, "Michael Selik"
On Wed, May 4, 2016, 1:37 PM Luigi Semenzato
wrote: read dictionaries in the code---by a human. Except that with these semantics it makes it impossible to detect duplicate key errors, which the vast majority of users would prefer to notice (a bold and unproven statement, but a reasonable guess).
I'm part of the minority(?) that doesn't care. I hope that helps adjust
your odds ratio for that guess. I'm also part of that group (I question whether it is minority) who wishes to allow duplicate keys at the syntax level, but to let linters complain. While *most* duplicate literal keys in dict displays probably are bugs, the legitimate and intended uses are not rare enough to prohibit them altogether.