STINNER Victor <vstin...@python.org> added the comment:

PyConfig_InitIsolatedConfig() reduces side effects on the process. For example, 
it doesn't set the LC_CTYPE locale and it doesn't change the standard streams 
(stdio).

config_init_stdio() is not called in an isolated configuration:

https://github.com/python/cpython/blob/dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e/Python/initconfig.c#L1855

https://github.com/python/cpython/blob/dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e/Python/initconfig.c#L1809-L1817

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41941>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to