3 ms·
There are sub-interpreters: https://docs.python.org/3/c-api/init.html#sub-interpreter-support https://docs.python.org/3/c-api/init.html#sub-interpreter-su...
by drdaeman 10y ago
There are sub-interpreters: https://docs.python.org/3/c-api/init.html#sub-interpreter-support https://docs.python.org/3/c-api/init.html#sub-interpreter-su...
- _wmd 10y agoSubinterpreters still share a lock and suffer from compatibility issues with C extension modules as the module interface only exports a very primitive notion of per-subinterpreter state, they're pretty much not all that safe to use unless you have a very constrained environment