PEP 554 is entitled "Multiple Interpreters in the Stdlib", yet the term "subinterpreters" is used throughout this repo.
There is the additional confusion of the C struct names.
It seems to me that the C struct PyInterpreterState
corresponds to the sub-interpreter and that the C struct _PyRuntimeState
corresponds to the interpreter.
Confusion about which is which makes the goals of this project unclear, and I fear may have resulted in some unnecessary work, as data structures are moved to PyInterpreterState
that could more easily, and with less impact, been moved to (or left in) _PyRuntimeState
.