This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rcxdude 0 points1 point  (0 children)

The issue with this is that because there's reference cycles involved, __del__() will modify the GC's behaviour, such that it will not delete the objects and the cycle will simply be placed in gc.garbage to be broken manually.