Dec. 16, 2021
2:41 a.m.
In Python 3.11, Python still implements around 100 types as "static types" which are not compatible with subinterpreters, like &PyLong_Type and &PyUnicode_Type. I opened https://bugs.python.org/issue40601 about these static types, but it seems like changing it may break the C API *and* the stable ABI (maybe a clever hack will avoid that).
If sub-interpreters each need their own copy of even immutable built-in types, then what advantage do they have over separate processes? -jJ