[New-bugs-announce] [issue36444] Python initialization: remove _PyMainInterpreterConfig

STINNER Victor report at bugs.python.org
Tue Mar 26 19:53:00 EDT 2019


New submission from STINNER Victor <vstinner at redhat.com>:

The _PyMainInterpreterConfig structure is redundant with _PyCoreConfig: it is a subset but using PyObject*. PyInterpreterState has 2 fields:

    _PyCoreConfig core_config;
    _PyMainInterpreterConfig config;

config parameters can be found in core_config, but using a different type: it introduces redundancy and a risk of inconsitency (if one is modified, but not the other).

_PyMainInterpreterConfig doesn't provide any feature which is not accessible using _PyCoreConfig.

----------
components: Interpreter Core
messages: 338924
nosy: vstinner
priority: normal
severity: normal
status: open
title: Python initialization: remove _PyMainInterpreterConfig
versions: Python 3.8

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


More information about the New-bugs-announce mailing list