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 brett.cannon, pitrou, vstinner, zach.ware
Date 2017-09-01.13:13:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504271633.11.0.870155474738.issue31217@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, this issue was really insane. Thank you very much Antoine Pitrou for explaning me the root bug ("int - int") and for the fix. The bug is now fixed in Python 3.6 and master (3.7). I checked manually the applied fix on the Gentoo Refleak 3.x buildbot using test_code and test_sys run in a loop: no failure after 30 runs.

*Hopefully*, it was a bug in the test, not in the code ;-)

The fix should help to detect real memory leaks, and maybe we can now replace again all() with any() in libregrtest/refleak.py to detect more leaks: see bpo-30776.
History
Date User Action Args
2017-09-01 13:13:53vstinnersetrecipients: + vstinner, brett.cannon, pitrou, zach.ware
2017-09-01 13:13:53vstinnersetmessageid: <1504271633.11.0.870155474738.issue31217@psf.upfronthosting.co.za>
2017-09-01 13:13:53vstinnerlinkissue31217 messages
2017-09-01 13:13:52vstinnercreate