[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

Jeroen Demeyer report at bugs.python.org
Fri Apr 26 08:32:55 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> The long term goal is to support multiple interpreter instances per process:
> Eric Snow's PEP 554 "Multiple Interpreters in the Stdlib"
> https://www.python.org/dev/peps/pep-0554/

Sorry, but I don't see the relation between this issue and PEP 554. It seems to me that the PEP is about making subinterpreters available from pure Python (instead of only at the C level). It doesn't say anything about the *implementation* of subinterpreters, which is what this issue is about.

So I'm still missing the bigger picture where this issue fits in.

> The current implementation of CPython leaks dozens of *Python* objects at exit.

That may be an issue to be fixed, but again I don't see the relation with this issue.

----------

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


More information about the Python-bugs-list mailing list