On Tue, 6 Aug 2024 at 08:48, aotto1968 via Python-list
<python-list@python.org> wrote:
>
> hi,
>
> Is it possible to run two completely independent Python interpreters in one 
> process, each using a thread?
>
> By independent, I mean that no data is shared between the interpreters and 
> thus the C API can be used without any other
> "lock/GIL" etc.
>

You're probably thinking of subinterpreters:

https://peps.python.org/pep-0734/

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to