◐ Shell
clean mode source ↗

bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python by vstinner · Pull Request #13037 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@vstinner

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

  • Add _Py_PreInitializeFromPyArgv() internal function.
  • Add 'args' parameter to _Py_PreInitializeFromCoreConfig()

https://bugs.python.org/issue36763

@vstinner

_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()

Labels