bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python by vstinner · Pull Request #13037 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
_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()
_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()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters