STINNER Victor <vstin...@python.org> added the comment:

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).

----------
Added file: https://bugs.python.org/file49650/test_zip_leak.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42536>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to