STINNER Victor added the comment: I created bpo-31317: Memory leak in dict with shared keys. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue31217> _______________________________________