This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients Albert.Ferras, Ramchandra Apte, benjamin.peterson, ebfe, r.david.murray
Date 2012-11-02.15:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
An error is out of the question for compatibility reasons. I think the idea for a warning should be brought up on the python-ideas list. Silently rejecting duplicates has a lot of precedent, though. For example, set literals and the dict constructor:

>>> dict((("dfs", 2), ("dfs", 3)))
{'dfs' : 3}
Date User Action Args
2012-11-02 15:49:24benjamin.petersonsetrecipients: + benjamin.peterson, r.david.murray, ebfe, Ramchandra Apte, Albert.Ferras
2012-11-02 15:49:24benjamin.petersonsetmessageid: <>
2012-11-02 15:49:24benjamin.petersonlinkissue16385 messages
2012-11-02 15:49:24benjamin.petersoncreate