Message382356
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). |
|
Date |
User |
Action |
Args |
2020-12-02 23:43:56 | vstinner | set | recipients:
+ vstinner, rhettinger, serhiy.storchaka |
2020-12-02 23:43:56 | vstinner | set | messageid: <1606952636.01.0.834530690587.issue42536@roundup.psfhosted.org> |
2020-12-02 23:43:56 | vstinner | link | issue42536 messages |
2020-12-02 23:43:55 | vstinner | create | |
|