Message399739
However, if I replace the assignment with a gc.collect() call, it still leaks:
def test_no_hang_on_context_chain_cycle2():
while gc.collect():
pass
class A(Exception):
pass
class B(Exception):
pass
...
I also changed gc_collect in Lib/test/support/__init__.py (which is called by the refleak check) to loop until gc.collect() returns 0 (currently it calls gc.collect() 3 times). Still leaks. |
|
Date |
User |
Action |
Args |
2021-08-17 10:50:19 | iritkatriel | set | recipients:
+ iritkatriel, vstinner, chris.jerdonek, lukasz.langa, Mark.Shannon, corona10, pablogsal, miss-islington |
2021-08-17 10:50:19 | iritkatriel | set | messageid: <1629197419.49.0.0746883260371.issue44895@roundup.psfhosted.org> |
2021-08-17 10:50:19 | iritkatriel | link | issue44895 messages |
2021-08-17 10:50:19 | iritkatriel | create | |
|