[issue42536] Iterating on a zip keeps objects alive longer than expected (test_itertools leaks sometimes references)

STINNER Victor report at bugs.python.org
Wed Dec 2 18:53:43 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> The GC is supposed to be able to break such cycle, no?

In zip_new(), lz->result tuple is *not* always tracked by the GC.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42536>
_______________________________________


More information about the Python-bugs-list mailing list