From 9fb86ad980f920bbdf305501ed9645f2e104bec7 Mon Sep 17 00:00:00 2001 From: guoci Date: Wed, 29 Oct 2025 11:19:42 -0400 Subject: [PATCH 1/4] add `os.reload_environ` to `__all__` --- Lib/os.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/os.py b/Lib/os.py index 6e6db96b3071f9..52cbc5bc85864e 100644 --- a/Lib/os.py +++ b/Lib/os.py @@ -832,6 +832,7 @@ def reload_environ(): env_data.clear() env_data.update(data) + __all__.append("reload_environ") def getenv(key, default=None): """Get an environment variable, return None if it doesn't exist. From 147f831a760884cf4578741861f24125bdeb7869 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Wed, 29 Oct 2025 16:12:52 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst diff --git a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst new file mode 100644 index 00000000000000..f0dedebc24e176 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst @@ -0,0 +1 @@ +Add :func:`os.reload_environ` to `__all__` From 85a44c7a579fac6f6976731b94f9744079021fe5 Mon Sep 17 00:00:00 2001 From: Guo Ci Date: Wed, 29 Oct 2025 12:16:27 -0400 Subject: [PATCH 3/4] Fix Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> --- .../next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst index f0dedebc24e176..c0d7dce72a6f06 100644 --- a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst +++ b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst @@ -1 +1 @@ -Add :func:`os.reload_environ` to `__all__` +Add :func:`os.reload_environ` to ` `os.__all__``. From 40331e6a1afa7b708d3ae39e890d72e67264a427 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 29 Oct 2025 12:18:40 -0400 Subject: [PATCH 4/4] fix ReST --- .../next/Library/2025-10-29-16-12-41.gh-issue-120057.qGj5Dl.rst | 1 + .../next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-120057.qGj5Dl.rst delete mode 100644 Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst diff --git a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-120057.qGj5Dl.rst b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-120057.qGj5Dl.rst new file mode 100644 index 00000000000000..f6b42be1fbf50d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-120057.qGj5Dl.rst @@ -0,0 +1 @@ +Add :func:`os.reload_environ` to ``os.__all__``. diff --git a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst b/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst deleted file mode 100644 index c0d7dce72a6f06..00000000000000 --- a/Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst +++ /dev/null @@ -1 +0,0 @@ -Add :func:`os.reload_environ` to ` `os.__all__``.