bpo-34319: Clarify file handler closure in pathlib.read_text#8645
Merged
Conversation
merwok
approved these changes
Aug 3, 2018
CuriousLearner
approved these changes
Aug 5, 2018
Member
|
The test failures are un-related known problems with test_subprocess on two of the VSTS testers. Tirkarthi: I was planning to open a PR with my suggestion after discussion. |
Contributor
|
Thanks @tirkarthi for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
GH-8694 is a backport of this pull request to the 3.7 branch. |
|
GH-8695 is a backport of this pull request to the 3.6 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Aug 6, 2018
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Aug 6, 2018
miss-islington
added a commit
that referenced
this pull request
Aug 6, 2018
miss-islington
added a commit
that referenced
this pull request
Aug 6, 2018
Member
Author
|
@terryjreedy Thanks for merging this. Sorry, I thought your suggestion was good but no PR was raised. So I thought to raise an initial PR here and then change the wording as needed from reviewers. Thanks |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Made the suggested changes in pathlib.read_text to clarify file handler being closed. Feel free to suggest if the wording can be improved.
Ref : https://bugs.python.org/issue34319#msg322991
Since this is a doc change I think this doesn't require a NEWS entry.
Thanks
https://bugs.python.org/issue34319