[Python-ideas] dictionary constructor should not allow duplicate keys

Ethan Furman ethan at stoneleaf.us
Wed May 4 08:44:23 EDT 2016

On 05/04/2016 05:07 AM, João Santos wrote:

> I think "special cases aren't special enough to break the rules" make
> this a -1, there's no reason for the behaviour change besides enabling
> bad code.

Actually, it /disables/ bad code.  ;)


More information about the Python-ideas mailing list