The following C API functions were deprecated in Python 3.11 by issue #88279:
- PySys_AddWarnOptionUnicode()
- PySys_AddWarnOption()
- PySys_AddXOption()
- PySys_HasWarnOptions()
- PySys_SetArgvEx()
- PySys_SetArgv()
- PySys_SetPath()
- Py_SetPath()
- Py_SetProgramName()
- Py_SetPythonHome()
- Py_SetStandardStreamEncoding()
- _Py_SetProgramFullPath()
IMO it's now time to remove them: the new PyConfig API is available since Python 3.8: https://docs.python.org/dev/c-api/init_config.html
Linked PRs
Reactions are currently unavailable
The following C API functions were deprecated in Python 3.11 by issue #88279:
IMO it's now time to remove them: the new PyConfig API is available since Python 3.8: https://docs.python.org/dev/c-api/init_config.html
Linked PRs