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 Mark.Shannon, chris.jerdonek, corona10, gvanrossum, iritkatriel, lukasz.langa, miss-islington, pablogsal, vstinner
Date 2021-09-01.16:13:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630512823.92.0.866941971935.issue44895@roundup.psfhosted.org>
In-reply-to
Content
> (once I remove the @skip on test_no_hang_on_context_chain_cycle2). 

Oh. I forgot that the test is still skipped!


> With your patch I don't see a leak for refleak.py, but I still see one for 
> ./python.exe -m test -R 3:3 test_exceptions -m test_no_hang_on_context_chain_cycle2 -m test_recursion_normalizing_infinite_exception -m test_recursion_in_except_handler -m test_recursion_normalizing_with_no_memory -F -j1

If I apply attached strict_refleak_check.patch and I remove @unittest.skip("See issue 44895") of test_no_hang_on_context_chain_cycle2(), I get:

$ ./python -m test -R 3:3 test_exceptions -m test_no_hang_on_context_chain_cycle2 -m test_recursion_normalizing_infinite_exception -m test_recursion_in_except_handler -m test_recursion_normalizing_with_no_memory

(...)
test_exceptions leaked [6, -6, 6] references, sum=6
(...)
History
Date User Action Args
2021-09-01 16:13:43vstinnersetrecipients: + vstinner, gvanrossum, chris.jerdonek, lukasz.langa, Mark.Shannon, corona10, pablogsal, miss-islington, iritkatriel
2021-09-01 16:13:43vstinnersetmessageid: <1630512823.92.0.866941971935.issue44895@roundup.psfhosted.org>
2021-09-01 16:13:43vstinnerlinkissue44895 messages
2021-09-01 16:13:43vstinnercreate