gh-120057: add os.reload_environ to __all__#140763
Conversation
|
This should have a NEWS entry IMO. |
os.reload_environ to __all__os.reload_environ to __all__
AlexWaygood
left a comment
There was a problem hiding this comment.
LGTM, but I agree this should have a NEWS entry.
Cc. @vstinner as author of #126268.
We could consider adding a test for the os module like this one for inspect, to make sure that __all__ is kept up-to-date in the future:
cpython/Lib/test/test_inspect/test_inspect.py
Lines 125 to 126 in 8706167
But that can be done as a standalone change; it doesn't need to be done here IMO
Misc/NEWS.d/next/Library/2025-10-29-16-12-41.gh-issue-None.qGj5Dl.rst
Outdated
Show resolved
Hide resolved
….rst Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
53efc2a to
40331e6
Compare
|
CI failure is unrelated, I will rerun when possible. |
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
Well spotted, I forgot about __all__ when I added the function.
|
ARM workers are currently down across all GitHub, which apparently means that no CPython PRs can currently be merged https://www.githubstatus.com/ |
|
I reran the failing ARM jobs. Let's see if GHA feels better yet or not. |
|
Thanks @guoci for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit b85e10f) Co-authored-by: Guo Ci <zguoci@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
GH-140773 is a backport of this pull request to the 3.14 branch. |
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@AlexWaygood
Fix as suggested in:
python/typeshed#14938 (review)