Gregory P. Smith added the comment: Raising an error on duplicates also has precedent:
>>> dict(a=3, b=4, a=5) File "<stdin>", line 1 SyntaxError: keyword argument repeated ---------- nosy: +gregory.p.smith _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16385> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com