[issue43503] [subinterpreters] PyObject statics exposed in the limited API break isolation.

Eric Snow report at bugs.python.org
Tue Mar 16 11:38:45 EDT 2021


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

One simple solution is to explicitly state that the limited API does not support subinterpreters.  This is already implied by the fact that the multi-phase init API (PEP 489) requires subinterpreter support but is not part of the limited API.

If we establish this constraint then the problem I originally described here goes away (and we can close this issue).

(Note: I'm pretty sure this is something someone suggested to me at some point, rather than my own idea.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43503>
_______________________________________


More information about the Python-bugs-list mailing list