diff options
author | Victor Stinner <vstinner@python.org> | 2024-11-05 07:43:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 07:43:34 (GMT) |
commit | 4a0d574273819b2b5006decb661da05b3baa8a4b (patch) | |
tree | 7df2f1e8166cc6bc4c6c4b032b406a4cdf990322 /Misc/NEWS.d/next/Library | |
parent | d3840503b0f590ee574fbdf3c96626ff8b3c45f6 (diff) | |
download | cpython-4a0d574273819b2b5006decb661da05b3baa8a4b.zip cpython-4a0d574273819b2b5006decb661da05b3baa8a4b.tar.gz cpython-4a0d574273819b2b5006decb661da05b3baa8a4b.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-11-01-10-35-49.gh-issue-120057.YWy81Q.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-01-10-35-49.gh-issue-120057.YWy81Q.rst b/Misc/NEWS.d/next/Library/2024-11-01-10-35-49.gh-issue-120057.YWy81Q.rst new file mode 100644 index 0000000..ded60a3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-11-01-10-35-49.gh-issue-120057.YWy81Q.rst @@ -0,0 +1,2 @@ +Replace the ``os.environ.refresh()`` method with a new +:func:`os.reload_environ` function. Patch by Victor Stinner. |