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. Every other Python library tested works properly with multiple interpreters. 'pygtk' module doesn't complain, only 'gtk' one does. If the issue comes from the gtk extension modules being initialized multiple times, I'll add a bug to the tracker.
You can have different namespaces inside the same interpreter. Running multiple interpreters inside the same process is not officially supported in python. You're likely to run into many complex, hard to fix problem which no one wants to help you solve. The pygtk module is a trivial tiny wrapper to handle different versions of the gtk bindings. Johan _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
