[issue36877] [meta] Move fields from _PyRuntimeState to PyInterpreterState.

Eric Snow report at bugs.python.org
Fri May 10 15:11:57 EDT 2019


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

We have quite a bit of global state the runtime that effectively breaks the isolation between interpreters.  Some of it exists as "global" C variables (see #36876) and the rest as fields on _PyRuntimeState.  The offending state should be moved to PyInterpreterState.

See Include/internal/pycore_pystate.h for the _PyRuntimeState and PyInterpreterState structs.

----------
assignee: eric.snow
components: Interpreter Core
messages: 342120
nosy: eric.snow, vstinner
priority: normal
severity: normal
status: open
title: [meta] Move fields from _PyRuntimeState to PyInterpreterState.
versions: Python 3.8

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


More information about the Python-bugs-list mailing list