SIGN IN SIGN UP

bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python (GH-13037)

_PyCoreConfig_SetPyArgv() and _PyCoreConfig_SetWideString() now
pre-initialize Python if needed to ensure that the locale encoding is
properly configured.

* Add _Py_PreInitializeFromPyArgv() internal function.
* Add 'args' parameter to _Py_PreInitializeFromCoreConfig()
V
Victor Stinner committed
70005ac0fddd8585725b92acd1bc2b8e7b81999c
Parent: 709d23d
Committed by GitHub <noreply@github.com> on 5/2/2019, 7:25:34 PM