This recipe on yet another signal/slot implementation in Python could serve as an example of weak references as implemented by the weakref module's WeakValueDictionary.[1]