Author vstinner
Recipients serhiy.storchaka, vstinner
Date 2015-11-17.10:23:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
[Python-checkins] Daily reference leaks (97e2a6810f7f): sum=10

    results for 97e2a6810f7f on branch "default"

    test_asyncio leaked [0, 0, 3] memory blocks, sum=3
    test_capi leaked [1, 1, 1] references, sum=3
    test_functools leaked [0, 2, 2] memory blocks, sum=4

    Command line was: ['./python', '-m', 'test.regrtest', '-uall', '-R', '3:3:/home/psf-users/antoine/refleaks/reflogBLsY2a', '--timeout', '7200']

It looks the leak comes from "import _pickle". The reference leak was introduced by the issue #24164 with the change bc5894a3a0e6. Attached patch should fix it.

To validate the patch, run: "./python -m test -R 3:3 test_capi", or "./python -m test -R 3:3 test_leak" with attached "".

@Serhiy: Since you wrote the change introduding the leak, could you please review my fix? Thanks.
Date User Action Args
2015-11-17 10:23:09vstinnersetrecipients: + vstinner, serhiy.storchaka
2015-11-17 10:23:09vstinnersetmessageid: <>
2015-11-17 10:23:09vstinnerlinkissue25645 messages
2015-11-17 10:23:08vstinnercreate