[issue31349] Embedded initialization ignores Py_SetProgramName()

STINNER Victor report at bugs.python.org
Wed Sep 25 20:58:43 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

Modules/getpath.c and PC/getpathp.c have been deeply reworked with the implementation of the PEP 587 in Python 3.8. Parameters which are already set (ex: Py_SetProgramName() or using the new PyConfig API) are no longer overriden. I added some tests on the "path configuration".

The most reliable way to configure the path configuration is now to use the new initialization API using PyConfig.
https://docs.python.org/dev/c-api/init_config.html

----------
nosy: +vstinner
versions: +Python 3.9 -Python 3.6, Python 3.7

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


More information about the Python-bugs-list mailing list