STINNER Victor added the comment: You should use dict.update() method. ---------- nosy: +haypo _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21678> _______________________________________