STINNER Victor added the comment: issue19664.patch looks good to me. Funny fact: test_repr() of test_dict only test dictionaries with 1 item :) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19664> _______________________________________