There are real problems with GSource wrapper memory management as it stands now: eg, finalize methods can cause segfaults and memory corruption; destroy()ed Source wrappers are always leaked; and the cyclic GC will segfault on any reference to a Timeout or Idle instance.
I've attached patches (against the wrapper and test suite) to bug #510511 with the hope of fixing (much of) this situation. The wrapper patch isn't huge, but the changes to how the GSource lifecycle is handled are substantial. I'd appreciate reviews and additional test cases. I think it's important, and I'd like to see it applied. Is anyone in a position to comment and/or make that happen? Thanks, Bryan Silverthorn
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
