Author vstinner
Recipients gvanrossum, levkivskyi, ned.deily, serhiy.storchaka, vstinner, xgdomingo
Date 2018-01-17.10:23:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516184583.96.0.467229070634.issue32226@psf.upfronthosting.co.za>
In-reply-to
Content
Since the commit 45700fb757591a672e9d25b8252971c2a2caeaf2, test_genericclass leaks references:
---
vstinner@apu$ ./python -m test -R 3:3 test_genericclass -m test.test_genericclass.CAPITest.test_c_class
Run tests sequentially
0:00:00 load avg: 1.27 [1/1] test_genericclass
beginning 6 repetitions
123456
......
test_genericclass leaked [2, 3, 2] memory blocks, sum=7
test_genericclass failed

1 test failed:
    test_genericclass

Total duration: 107 ms
Tests result: FAILURE
---

The leak comes from _testcapi.Generic[int]. Maybe from generic_alias_new() of Modules/_testcapi.c.
History
Date User Action Args
2018-01-17 10:23:04vstinnersetrecipients: + vstinner, gvanrossum, ned.deily, serhiy.storchaka, levkivskyi, xgdomingo
2018-01-17 10:23:03vstinnersetmessageid: <1516184583.96.0.467229070634.issue32226@psf.upfronthosting.co.za>
2018-01-17 10:23:03vstinnerlinkissue32226 messages
2018-01-17 10:23:03vstinnercreate