[issue26190] GC memory leak using weak and cyclic references

2016-01-24 Thread Maximilian Köhl
Changes by Maximilian Köhl : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue26190] GC memory leak using weak and cyclic references

2016-01-24 Thread Maximilian Köhl
New submission from Maximilian Köhl: In the attached code the object initially bind to `a` is never garbage collected although there are no references left. The finalizer of `b` is executed and the weak reference to it becomes dead however the garbage collector does not free the object itself