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 iritkatriel
Recipients Mark.Shannon, chris.jerdonek, corona10, gvanrossum, iritkatriel, lukasz.langa, miss-islington, pablogsal, vstinner
Date 2021-09-01.15:56:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
With your patch I don't see a leak for, 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/
+++ b/Lib/test/libregrtest/
@@ -90,8 +90,9 @@ def get_pooled_int(value):
     for i in rep_range:
-        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:22iritkatrielsetrecipients: + iritkatriel, gvanrossum, vstinner, chris.jerdonek, lukasz.langa, Mark.Shannon, corona10, pablogsal, miss-islington
2021-09-01 15:56:22iritkatrielsetmessageid: <>
2021-09-01 15:56:22iritkatriellinkissue44895 messages
2021-09-01 15:56:22iritkatrielcreate