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 Deric-W, benjamin.peterson, methane, vstinner
Date 2020-10-31.01:03:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604106215.97.0.50369477316.issue42160@roundup.psfhosted.org>
In-reply-to
Content
The commit 8e409cebad42032bb7d0f2cadd8b1e36081d98af introduced a reference leak:
https://buildbot.python.org/all/#/builders/320/builds/71

$ make && ./python -m test test_tempfile -R 3:3
...
test_tempfile leaked [49, 49, 49] references, sum=147
test_tempfile leaked [28, 28, 28] memory blocks, sum=84
...

Single test reproducing the leak:

$ ./python -m test test_tempfile -R 3:3 -m test.test_tempfile.TestGetDefaultTempdir.test_no_files_left_behind
...
test_tempfile leaked [21, 21, 21] references, sum=63
test_tempfile leaked [12, 12, 12] memory blocks, sum=36
...
History
Date User Action Args
2020-10-31 01:03:36vstinnersetrecipients: + vstinner, benjamin.peterson, methane, Deric-W
2020-10-31 01:03:35vstinnersetmessageid: <1604106215.97.0.50369477316.issue42160@roundup.psfhosted.org>
2020-10-31 01:03:35vstinnerlinkissue42160 messages
2020-10-31 01:03:35vstinnercreate