[Python-ideas] PEP 554: Stdlib Module to Support Multiple Interpreters in Python Code

Sebastian Krause sebastian at realpath.org
Thu Sep 7 16:14:48 EDT 2017


Eric Snow <ericsnowcurrently at gmail.com> wrote:
> 1. add a basic queue class for passing objects between interpreters
>     * only support strings at first (though Nick pointed out we could
> fall back to pickle or marshal for unsupported objects)
> 2. implement CSP on top of subinterpreters
> 3. expand the queue's supported types
> 4. add something like Interpreter.call()

How is the GIL situation with subinterpreters these days, is the
long-term goal still "solving multi-core Python", i.e. using
multiple CPU cores from within the same process? Or is it mainly
used for isolation?

Sebastian


More information about the Python-ideas mailing list