Irit Katriel <iritkatr...@gmail.com> added the comment:
It's midnight, so just one last weirdness before I turn into a pumpkin: If I add this assignment to x the issue seems to go away (or become less frequent so I don't see it?) But if I assign x to a small constant it still leaks. def test_no_hang_on_context_chain_cycle2(): x = list(range(100)) class A(Exception): pass class B(Exception): pass ---------- keywords: -patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44895> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com