This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brandtbucher, rhettinger, serhiy.storchaka, vstinner
Date 2020-12-03.09:22:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606987370.05.0.242005564381.issue42536@roundup.psfhosted.org>
In-reply-to
Content
Serhiy Storchaka:
> Why there are cycles at all? In normal case there should not be cycle and the result tuple should be destroyed when the iteration ends.

test_itertools creates a reference cycle *on purpose*. See test_zip_leak2.py  simplified code, it comes from test_itertools.
History
Date User Action Args
2020-12-03 09:22:50vstinnersetrecipients: + vstinner, rhettinger, serhiy.storchaka, brandtbucher
2020-12-03 09:22:50vstinnersetmessageid: <1606987370.05.0.242005564381.issue42536@roundup.psfhosted.org>
2020-12-03 09:22:50vstinnerlinkissue42536 messages
2020-12-03 09:22:50vstinnercreate