[issue34170] Py_Initialize(): computing path configuration must not have side effect (PEP 432)

STINNER Victor report at bugs.python.org
Fri Jul 20 11:37:25 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

PR 8353 is the last piece of my long work on Py_Main() to separate code *reading* configuration and code *applying* a new configuration. My work on the new _PyPathConfig structure, and the PR should finish that work.

Extract of the commit message:

"A new _PyCoreConfig_SetPathConfig() function now recreates the path configuration from the core configuration. This function is now called very late in _Py_InitializeCore(), just before calling initimport()."

----------

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


More information about the Python-bugs-list mailing list