Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61121 > unrolled thread

Re: Embedding multiple interpreters

Started byGarthy <garthy_nhtyp@entropicsoftware.com>
First post2013-12-06 18:47 +1030
Last post2013-12-06 18:47 +1030
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Embedding multiple interpreters Garthy <garthy_nhtyp@entropicsoftware.com> - 2013-12-06 18:47 +1030

#61121 — Re: Embedding multiple interpreters

FromGarthy <garthy_nhtyp@entropicsoftware.com>
Date2013-12-06 18:47 +1030
SubjectRe: Embedding multiple interpreters
Message-ID<mailman.3628.1386318161.18130.python-list@python.org>
Hi all,

A small update here:

On 06/12/13 13:04, Garthy wrote:
 > [1] It presently crashes in Py_EndInterpreter() after running through a
 > series of tests during the shutdown of the 32nd interpreter I create. I
 > don't know if this is significant, but the tests pass for the first 31
 > interpreters.

This turned out to be a red herring, so please ignore this bit. I had a 
code path that failed to call Py_INCREF on Py_None which was held in a 
PyObject that was later Py_DECREF'd. This had some interesting 
consequences, and not surprisingly led to some double-frees. ;)

I was able to get much further with this fix, although I'm still having 
some trouble getting multiple interpreters running together 
simultaneously. Advice and thoughts still very much welcomed on the rest 
of the email. :)

Cheers,
Garth

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web