Arjan J. Molenaar wrote: >Hi, > >I've created a patch that adds a 'leak_references' property to the >GenericTreeModel. Turning this feature off (default is on, the old >behaviour) will always decrement the refcount on PyObjects. This will >prevent memory/refcnt leaks from happening. The Model should ensure that >objects which are user as iterator are not destroyed before the iterator >is destroyed. > >This sounds a bit silly, but there are no other way, unless we get to >know when a iterator is being removed... > Thanks for the patch. Could you please put this in bugzilla so that I don't forget about it?
James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk