Message400848
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
(once I remove the @skip on test_no_hang_on_context_chain_cycle2).
However, if I make this change it looks better:
--- a/Lib/test/libregrtest/refleak.py
+++ b/Lib/test/libregrtest/refleak.py
@@ -90,8 +90,9 @@ def get_pooled_int(value):
for i in rep_range:
test_func()
- dash_R_cleanup(fs, ps, pic, zdc, abcs)
- support.gc_collect()
+ for i in range(3):
+ dash_R_cleanup(fs, ps, pic, zdc, abcs)
+ support.gc_collect() |
|
Date |
User |
Action |
Args |
2021-09-01 15:56:22 | iritkatriel | set | recipients:
+ iritkatriel, gvanrossum, vstinner, chris.jerdonek, lukasz.langa, Mark.Shannon, corona10, pablogsal, miss-islington |
2021-09-01 15:56:22 | iritkatriel | set | messageid: <1630511782.27.0.363719914062.issue44895@roundup.psfhosted.org> |
2021-09-01 15:56:22 | iritkatriel | link | issue44895 messages |
2021-09-01 15:56:22 | iritkatriel | create | |
|