Daniele Pianu wrote: > I also solve the problem putting func, data references couples into a > list. Since the list is a PyFooStruct attribute, func/data references > will never be decremented until the PyFooStruct is used. Could be a > better solution than the first solution suggested? Yes, that sounds like the right thing to do. -- Greg