Re: A problem in embedding Python in a plug-in

2007-01-07 Thread Gabriel Genellina
On 6 ene, 15:29, Koichi <[EMAIL PROTECTED]> wrote: > Hi, I'm now making a plug-in for a CG software. I embed > Python in a plugin and it works. The problem is that it > conflicts with other plugins that also embeds Python because it > runs in the same thread. I don't know when Py_Initialize() and

A problem in embedding Python in a plug-in

2007-01-06 Thread Koichi
Hi, I'm now making a plug-in for a CG software. I embed Python in a plugin and it works. The problem is that it conflicts with other plugins that also embeds Python because it runs in the same thread. I don't know when Py_Initialize() and Py_Finalize() are executed because I don't know when user lo