[pygtk] Can't run PyGTK more than once from embedded Python
John Ehresman
jpe at wingware.com
Tue Jan 10 01:05:32 WST 2006
Romain Behar wrote:
> Unfortunately, it's not possible to have a single
> interpreter. For example, more than one document can
> be opened and each of them can have an interpreter
> instance.
Why can't the documents share a single interpreter? You're getting into
areas of the python core that are not used that often and have
limitations. I suspect you'll run into problems with other extensions
in time and you'll probably end up working with a C debugger to
understand how things work. That said, patches to pygtk in order to get
this work would be considered as long as they don't complicate things
too much.
John
More information about the pygtk
mailing list