Alex Martelli <aleax at aleax.it> writes: > The simplest solution is to have pyRXP return a tree of *LISTS*, Why is that a solution? >>> x=[] >>> import weakref >>> weakref.ref(x) Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: cannot create weak reference to 'list' object Regards, Martin