[issue31867] Duplicated keys, but with different values in dictionary literals

2017-10-25 Thread Mark Shannon
Mark Shannon added the comment: I hadn't noticed the comments on the lines above saying "Duplicates :(", so I'm obviously not the first to notice. -- ___ Python tracker

[issue31867] Duplicated keys, but with different values in dictionary literals

2017-10-25 Thread Mark Shannon
New submission from Mark Shannon : Here https://github.com/python/cpython/blob/master/Lib/mimetypes.py#L416 and here https://github.com/python/cpython/blob/master/Lib/mimetypes.py#L526 I have no idea which is the correct value for either, but the code is misleading at best.