[issue44895] refleak test failure in test_exceptions
Irit Katriel
report at bugs.python.org
Tue Aug 17 06:58:33 EDT 2021
Irit Katriel <iritkatriel at gmail.com> added the comment:
But if I also add a gc loop at the beginning of test_recursion_in_except_handler, the leak goes away.
def test_recursion_in_except_handler():
while gc.collect():
pass
def set_relative_recursion_limit(n):
...
So maybe test_recursion_in_except_handler is resurrecting something that test_no_hang_on_context_chain_cycle2 has let go of?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44895>
_______________________________________
More information about the Python-bugs-list
mailing list