New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36444>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to