GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — bpo-44113: Deprecate old functions to config Python init by vstinner · Pull Request #26060 · python/cpython Conversation
|
|
Don't we have to change the signature of API like this? from Include/sysmodule.h Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@corona10: Oh right, I added Py_DEPRECATED(). I rebased my PR and also deprecated PySys_HasWarnOptions(). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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).
|
I also deprecated the undocumented _Py_SetProgramFullPath() function. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@corona10: Would you mind to review the updated PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.