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 lukasz.langa
Recipients a-j-buxton, augustogoulart, iritkatriel, lukasz.langa, methane, miss-islington, nascheme, pablogsal, rhettinger, ronaldoussoren, serhiy.storchaka, taleinat, terry.reedy, vstinner
Date 2021-08-11.15:52:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Apparently we've got ourselves refleaks with the patches.

It doesn't always reproduce but put test_exceptions -R: in a loop in 3.10 and soon enough you'll get:

0:00:00 load avg: 4.47 Run tests sequentially
0:00:00 load avg: 4.47 [1/1] test_exceptions
beginning 9 repetitions
test_exceptions leaked [2, 2, 2, 2] references, sum=8
test_exceptions leaked [2, 2, 2, 2] memory blocks, sum=8
test_exceptions failed (reference leak) in 59.6 sec

== Tests result: FAILURE ==

1 test failed:

It's much harder to reproduce on 3.9 and 3.8 because test_exceptions has fewer tests and at least on my MBP finishes twice as fast. I ran 3.9 in a loop for an hour and no refleak.
Date User Action Args
2021-08-11 15:52:03lukasz.langasetrecipients: + lukasz.langa, nascheme, rhettinger, terry.reedy, ronaldoussoren, vstinner, taleinat, methane, serhiy.storchaka, pablogsal, miss-islington, augustogoulart, a-j-buxton, iritkatriel
2021-08-11 15:52:03lukasz.langasetmessageid: <>
2021-08-11 15:52:03lukasz.langalinkissue33930 messages
2021-08-11 15:52:03lukasz.langacreate