PyDocs

Concurrent Execution

concurrent.interpreters

not WASI

Subinterpreters High Level Module.
Symbols in concurrent.interpreters

c

create
Return a new (idle) Python interpreter.
create_queue
Return a new cross-interpreter queue.

e

ExecutionFailed
An unhandled exception happened during execution.

g

get_current
Return the currently running interpreter.
get_main
Return the main interpreter.

i

Interpreter
A single Python interpreter.
InterpreterError
A cross-interpreter operation failed
InterpreterNotFoundError
An interpreter was not found

l

list_all
Return all existing interpreters.

n

NotShareableError
This exception, a subclass of TypeError, is raised when an object cannot be sent to another interpreter.

q

Queue
A cross-interpreter queue.
QueueEmpty
Raised from get_nowait() when the queue is empty.
QueueFull
Raised from put_nowait() when the queue is full.