STINNER Victor added the comment: I spent a lot of time in gdb, but I'm not sure anymore that the issue is related to dict shared keys. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue31317> _______________________________________