If anyone on the list has experience with the Python cycle GC, I would appreciate it if you could read over my reasoning, and hopefully spot any obvious mistakes. If I can get this working, I would like to apply it for the next pygtk release.
Okay. I found the problem (it was a fairly simple problem). There is a fixed patch on bug 92955 now.
The main difference in behaviour with this change is that GObject subclasses with __del__ methods will not get released. This behaviour comes from the cycle GC, since __del__ methods aren't usually written to function correctly when the instance dictionary has been cleared, for instance.
Is this likely to be a problem for anyone? In my opinion, the gains from such a change outweigh the losses but I would like to hear other people's point of view if they disagree. The patch is available here:
http://bugzilla.gnome.org/showattachment.cgi?attach_id=14812
James.
-- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
