Serhiy Storchaka added the comment: > func(**{'x': 1, 'x': 2})
In this example the dictionary contains only one item. You need more complex example for making the assertion failing. Keys with non-constant hashes or equality, so first they are different, and later they become equal. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29360> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com