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 rhettinger, serhiy.storchaka, vstinner
Date 2020-12-02.23:43:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606952636.01.0.834530690587.issue42536@roundup.psfhosted.org>
In-reply-to
Content
I reproduce the leak with attached test_zip.py by running:

$ ./python -m test -R 3:3 test_zip_leak -j4 -m test.test_zip_leak.TestGC.test_permutations -m test.test_zip_leak.TestGC.test_zip

The problem is that the builtin zip class keeps an internal tuple alive. See zip_next) and zipobject.result member (tuple).
History
Date User Action Args
2020-12-02 23:43:56vstinnersetrecipients: + vstinner, rhettinger, serhiy.storchaka
2020-12-02 23:43:56vstinnersetmessageid: <1606952636.01.0.834530690587.issue42536@roundup.psfhosted.org>
2020-12-02 23:43:56vstinnerlinkissue42536 messages
2020-12-02 23:43:55vstinnercreate