Re: [Fwd: Re: Embedding Multiplr Python interpreter in C++]

2005-01-15 Thread Craig Ringer
On Fri, 2005-01-14 at 22:42, Steve Holden wrote: > Take a look at mod_python's code: that allows several independent > interpreters in the same Apache process using Py_NewInterpreter() I've never been entirely clear on whether mod_python does its magic by relying on having one thread per sub-int

[Fwd: Re: Embedding Multiplr Python interpreter in C++]

2005-01-14 Thread Steve Holden
Yogesh Sharma <[EMAIL PROTECTED]> wrote: > one more question to add: > Is there a way to have 2 local copies of python interpreter ? > > Yogesh Sharma wrote: >> Hi, >> >> I have following setup: >> OS Linux Fedora Core 3 >> Python 2.3.4 >> >> How can I embed two python interpreters in one C++ progr

Re: Embedding Multiplr Python interpreter in C++

2005-01-13 Thread Yogesh Sharma
one more question to add: Is there a way to have 2 local copies of python interpreter ? Yogesh Sharma wrote: Hi, I have following setup: OS Linux Fedora Core 3 Python 2.3.4 How can I embed two python interpreters in one C++ program ? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Embedding Multiplr Python interpreter in C++

2005-01-13 Thread Yogesh Sharma
Hi, I have following setup: OS Linux Fedora Core 3 Python 2.3.4 How can I embed two python interpreters in one C++ program ? Thanks -- http://mail.python.org/mailman/listinfo/python-list