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 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 <>
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
test_genericclass leaked [2, 3, 2] memory blocks, sum=7
test_genericclass failed

1 test failed:

Total duration: 107 ms
Tests result: FAILURE

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