Python Embedded Instances
Andrew MacIntyre
andymac at bullseye.apana.org.au
Sun Jul 14 04:07:46 EDT 2002
On Sat, 13 Jul 2002, Tim Peters wrote:
> [Andrew MacIntyre]
> > I don't believe the Python core in its current form supports separate
> > interpreter instances in the one application (something I understand Tcl
> > can support).
>
> It does, but only at the C level (you can't create a new interpreter from
> pure Python code). See the docs for Py_NewInterpreter() in the
> "Initialization, Finalization, and Threads" chapter of the Python/C API
> manual.
Oops. Thanks for straitening that out. Hopefully the OP can take
advantage of it.
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au | Snail: PO Box 370
andymac at pcug.org.au | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list
mailing list