After noticing that memory was not being freed in a GUI app, I made a simple test:
import gc class Item: def __init__(self, parent=None): self.it