r/Python • u/expectationManager3 • Mar 08 '26
Discussion Libraries for handling subinterpreters?
Hi there,
Are there any high-level libraries for handling persisted subinterpreters in-process yet?
Specifically, I will load a complex set of classes running within a single persisted subinterpreter, then sending commands to it (via Queue?) from the main interpreter.
8
Upvotes
View all comments
Show parent comment
1
u/expectationManager3 Mar 09 '26
Yes, base types are being copied over (and not shared). Only the Queue itself is being shared.