<p dir="ltr"><br>
On May 4, 2016 10:59 AM, "Michael Selik" <<a href="mailto:michael.selik@gmail.com">michael.selik@gmail.com</a>> wrote:<br>
><br>
> On Wed, May 4, 2016, 1:37 PM Luigi Semenzato <<a href="mailto:luigi@semenzato.com">luigi@semenzato.com</a>> wrote:<br>
>> read dictionaries in the code---by a human. Except that with these<br>
>> semantics it makes it impossible to detect duplicate key errors, which<br>
>> the vast majority of users would prefer to notice (a bold and unproven<br>
>> statement, but a reasonable guess).<br>
><br>
> I'm part of the minority(?) that doesn't care. I hope that helps adjust your odds ratio for that guess.</p>
<p dir="ltr">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.</p>