STINNER Victor <vstinner at python.org> added the comment: A variant of this problem: bpo-36560 with a leak 1 memory block per iteration. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue44895> _______________________________________