]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120057: Add os.reload_environ() function (#126268)
authorVictor Stinner <vstinner@python.org>
Tue, 5 Nov 2024 07:43:34 +0000 (08:43 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2024 07:43:34 +0000 (08:43 +0100)
commit4a0d574273819b2b5006decb661da05b3baa8a4b
tree7df2f1e8166cc6bc4c6c4b032b406a4cdf990322
parentd3840503b0f590ee574fbdf3c96626ff8b3c45f6
gh-120057: Add os.reload_environ() function (#126268)

Replace the os.environ.refresh() method with a new
os.reload_environ() function.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/os.rst
Doc/whatsnew/3.14.rst
Lib/os.py
Lib/test/test_os.py
Misc/NEWS.d/next/Library/2024-11-01-10-35-49.gh-issue-120057.YWy81Q.rst [new file with mode: 0644]