]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105145: Deprecate Py_GetPath() function (#105179)
authorVictor Stinner <vstinner@python.org>
Thu, 1 Jun 2023 12:06:32 +0000 (14:06 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 12:06:32 +0000 (12:06 +0000)
commitc67121ac6bf8ee36d79de92ef68fc3fde178d2a3
treedc23a71f3b65e9dc384d85992a9f73c46c0f6af3
parentec0082ca460f6b5eaf987536d28d6bc252322307
gh-105145: Deprecate Py_GetPath() function (#105179)

Deprecate old Python initialization functions:

* PySys_ResetWarnOptions()
* Py_GetExecPrefix()
* Py_GetPath()
* Py_GetPrefix()
* Py_GetProgramFullPath()
* Py_GetProgramName()
* Py_GetPythonHome()

_tkinter.c uses sys.executable instead of Py_GetProgramName()
and uses sys.prefix instead of Py_GetPrefix().
Doc/c-api/init.rst
Doc/c-api/sys.rst
Doc/whatsnew/3.13.rst
Include/pylifecycle.h
Include/sysmodule.h
Misc/NEWS.d/next/C API/2023-06-01-09-40-30.gh-issue-105145.WOOE-w.rst [new file with mode: 0644]
Modules/_tkinter.c