R. David Murray added the comment:

It is a nice suggestion, but it is also probably a non-trivial change to the 
parser.  If you want to try coming up with a patch we would consider it, but I 
suspect there is a limit to how much complexity we'd be willing to add to the 
parser code for this.

It would also be a backward incompatible change, so it could only go into a new 
release regardless.

(On the other hand Benjamin might take a look at this and say "oh, that's easy" 
and make some magic happen.  You never know :)

----------
nosy: +r.david.murray
priority: normal -> low
title: evaluating dict with repeated keys gives no warnings/errors -> 
evaluating literal dict with repeated keys gives no warnings/errors
type: behavior -> enhancement
versions: +Python 3.4 -Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to