[pygtk] Can't run PyGTK more than once from embedded Python

John Ehresman jpe at wingware.com
Sun Jan 8 08:54:40 WST 2006


Romain Behar wrote:
> I don't know how to unload. BTW, I'm on the Linux
> platform. I've been looking for some information on
> module unloading, but couldn't find anything working.
> Py_Finalize() always crashes the application.
> Is there some instruction to unload gtk module when
> quitting or doing some cleanup before importing it
> again?

You probably don't want to unload or call Py_Finalize.  It would be 
helpful to have a minimal test case so we can see exactly what you're 
doing and so that others can reproduce the problem.

John


More information about the pygtk mailing list