When definnning classes in a method that are subcallses, like: def d():
class A(BaseType): pass … The new generated types is appended to the _subtypes weak reference list on BaseType. Looks like this list is only cleaned when RemoveSubType Is called, which might never happen if I understand correctly. Seems to me there should be a cleanup mechanism similar to WeakDictionary, so the list can't grow to infinity.
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com