4 ms·
For now it's only at the c level, with a python api in discussion: https://www.python.org/dev/peps/pep-0554/ https://www.python.org/dev/peps/pep-0554/ The idea
by BiteCode_dev 5y ago
For now it's only at the c level, with a python api in discussion: https://www.python.org/dev/peps/pep-0554/ https://www.python.org/dev/peps/pep-0554/
The idea is that the python code interpreter would not rely on global variables anymore, so that you can instantiate it several times.
The GIL is tied to the interpreter, meaning 2 threads in 2 different interpreters do not share a gil, and can be schedule on different CPU.