Re: [Ironpython-users] WeakRef'tracker

2012-10-23 Thread Dino Viehland
Python's weak reference support includes the ability to deliver a callback when the object is finalized. That differs from .NET's weak reference support where at best you can poll the weak reference object to find out if the object has gone away. Luckily in Python objects need to opt-in to sup

[Ironpython-users] WeakRef'tracker

2012-10-23 Thread Markus Schaber
Hi, What's the purpose of IronPython.Rumtime.WeakRefTracker? I did run the attached program (which is similar to the example for http://ironpython.codeplex.com/workitem/31764). After running a bunch of scripts, the program calls GC.Collect() and GC.WaitForPendingFinalizers() several times. At