From: Phil Frost <indigo@bi...> - 2005-10-24 16:38:35
I would like to have something to the effect of a weak-valued dictionary
of pyobjc objects. The situation is that i have a database which
maintains a mapping of already loaded objects. In python I would use a
WeakValueDictionary; in objc I would autorelease the objects, and remove
them from the mapping in dealloc. Is there some way I can get this
effect with pyobjc?