[issue26910] dictionary literal should not allow duplicate keys

2019-03-06 Thread Jonathan Fine
Jonathan Fine added the comment: I mention this issue, and related pages, in [Python-ideas] dict literal allows duplicate keys https://mail.python.org/pipermail/python-ideas/2019-March/055717.html It arises from a discussion of PEP 584 -- Add + and - operators to the built-in dict class. Ple

[issue26910] dictionary literal should not allow duplicate keys

2016-05-02 Thread R. David Murray
R. David Murray added the comment: Since this has been previously rejected, I'm closing this issue as a duplicate. If you want to reopen the discussion of the merits, the python-ideas mailing list is the appropriate forum. I encourage you to raise it there. -- nosy: +r.david.murray re

[issue26910] dictionary literal should not allow duplicate keys

2016-05-02 Thread Luigi Semenzato
New submission from Luigi Semenzato: This was already discussed and rejected at https://bugs.python.org/issue16385. I am reopening because I am not convinced that the discussion presented all arguments properly. The original problem description: lives_in = { 'lion': ['Africa', 'America],