Irit Katriel <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue44895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com