commit | 6cd0446ef72c6676b292d7f54b1ddb8ae5e1fb8d | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed May 12 23:59:25 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed May 12 23:59:25 2021 +0200 |
tree | 096a9091641c61c9c45ce91ce2daa0c7eff8c121 | |
parent | 504ffdae4e0cb7775f3e584c3b1d20c262fdfd7e [diff] |
bpo-44113: Deprecate old functions to config Python init (GH-26060) Deprecate the following functions to configure the Python initialization: * PySys_AddWarnOption() * PySys_AddWarnOptionUnicode() * PySys_AddXOption() * PySys_HasWarnOptions() * Py_SetPath() * Py_SetProgramName() * Py_SetPythonHome() * Py_SetStandardStreamEncoding() * _Py_SetProgramFullPath() Use the new PyConfig API of the Python Initialization Configuration instead (PEP 587).