Shreyan Avigyan <shreyan.avig...@gmail.com> added the comment:
I've read that issue but it seems that it actually was based on "Should there be a warning or error?". I actually suggest something different. I suggest that "Either raise an exception or just use the first key-value pair if the key is repeated during initialization". (By "initialization" I mean to say creating a new dict object) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44033> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com