[issue41941] Py_Initialize affects the console

twoone3 report at bugs.python.org
Mon Oct 5 09:12:34 EDT 2020


twoone3 <3197653242 at qq.com> added the comment:

I used the link you gave me https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.PyConfig_InitIsolatedConfig Click to open and turn up to see the box, I follow that box  The example inside is done, and the coding problem of the console is solved, but I hope that cpython can provide a more concise API, remove useless functions or variables, so that it is convenient for you to maintain and easy for users to read.

----------

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


More information about the Python-bugs-list mailing list