I\'m in need of a list of weak references that deletes items when they die. Currently the only way I have of doing this is to keep flushing the list (removing dead references ma
As I needed a weakref list like you, I've made one and publish it on pypi.
now you can do:
pip install weakreflist
then:
from weakreflist import WeakList