[issue41941] Py_Initialize affects the console

STINNER Victor report at bugs.python.org
Mon Oct 5 06:45:00 EDT 2020


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

I suggest you to use https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.PyConfig_InitIsolatedConfig API instead of the legacy Py_Initialize() API.

----------

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


More information about the Python-bugs-list mailing list