Message174535
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:24 | benjamin.peterson | set | recipients:
+ benjamin.peterson, r.david.murray, ebfe, Ramchandra Apte, Albert.Ferras |
2012-11-02 15:49:24 | benjamin.peterson | set | messageid: <1351871364.49.0.88641474248.issue16385@psf.upfronthosting.co.za> |
2012-11-02 15:49:24 | benjamin.peterson | link | issue16385 messages |
2012-11-02 15:49:24 | benjamin.peterson | create | |
|