]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-77782: Deprecate global configuration variable (#93943)
authorVictor Stinner <vstinner@python.org>
Fri, 17 Jun 2022 14:12:00 +0000 (16:12 +0200)
committerGitHub <noreply@github.com>
Fri, 17 Jun 2022 14:12:00 +0000 (16:12 +0200)
commit0ff626f210c69643d0d5afad1e6ec6511272b3ce
treecc6b273fa241aeaccbcfa1ecff5bb6793f746e84
parentf64557f4803528c53bb9a1d565e3cdf92e97152f
gh-77782: Deprecate global configuration variable (#93943)

Deprecate global configuration variable like
Py_IgnoreEnvironmentFlag: the Py_InitializeFromConfig() API should be
instead.

Fix declaration of Py_GETENV(): use PyAPI_FUNC(), not PyAPI_DATA().
Doc/whatsnew/3.12.rst
Include/cpython/pydebug.h
Include/cpython/pystate.h
Include/fileobject.h
Misc/NEWS.d/next/C API/2022-05-23-12-31-04.gh-issue-77782.ugC8dn.rst [new file with mode: 0644]
Modules/main.c
Python/initconfig.c
Python/preconfig.c