FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-158001: Avoid deprecated variable in Py_GETENV() by vstinner · Pull Request #158003 · python/cpython · GitHub

Repository navigation

gh-158001: Avoid deprecated variable in Py_GETENV() - #158003

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:py_getenv
Sep 23, 2026
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:py_getenv

Conversation

vstinner commented Sep 23, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

No longer use deprecated Py_IgnoreEnvironmentFlag in Py_GETENV(). Instead, use PyConfig.use_environment when Python is initialized.

No longer use deprecated Py_IgnoreEnvironmentFlag in Py_GETENV().
Instead, use PyConfig.use_environment when Python is initialized.
Modify also PySys_SetArgv() to use PyConfig.isolated when Python is
initialized.
vstinner merged commit becfd65 into python:main Sep 23, 2026
52 checks passed
vstinner deleted the py_getenv branch September 23, 2026 15:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL