ted and next PyGILState_Ensure() will work
});
}
Did I get that right?
Stephan
Am Mo., 28. Jan. 2019 um 09:27 Uhr schrieb Nick Coghlan :
>
> On Mon, 28 Jan 2019 at 00:32, Stephan Reiter wrote:
> >
> > Cool. Thanks, Nick!
> >
> > I did experiments based on t
need to
balance short and long term solution. :-)
Stephan
Den søn. 27. jan. 2019, 15.17 skrev Nick Coghlan On Thu, 24 Jan 2019 at 05:45, Stephan Reiter
> wrote:
> > If we create a fresh OS thread and make it call PyGILState_Ensure, it
> > won't have a PyThreadState saved u
ter
}
PyGILState_SetNewThreadInterpreterSelectionCallback();
Maybe rubbish. But I think a valuable experiment that will give me a
better understanding.
Stephan
Am Mi., 23. Jan. 2019 um 18:11 Uhr schrieb Eric Snow
:
>
> Hi Stephan,
>
> On Tue, Jan 22, 2019 at 9:25 AM Stephan Reiter
> wrote:
> > I am new to the list and
and a long-term solution.
Actually, making subinterpreters work better is pretty sexy ...
because it's hard. :-)
Stephan
Am Mi., 23. Jan. 2019 um 11:30 Uhr schrieb Petr Viktorin :
>
> On 1/23/19 3:33 AM, Stephan Reiter wrote:
> > Thanks for the answers so far. I appreciate them!
> >
now the concept of subinterpreters is
> really appealing, but unfortunately the CPython implementation is not really
> mature or widely supported... are you absolutely certain you need to use
> subinterpreters for your application?
>
> On Tue, Jan 22, 2019, 08:27 Stephan Reiter >
>
Hi all!
I am new to the list and arriving with a concrete problem that I'd
like to fix myself.
I am embedding Python (3.6) into my C++ application and I would like
to run Python scripts isolated from each other using sub-interpreters.
I am not using threads; everything is supposed to run in the