BUG: fix the method for checking local files for 1.24.x#23739
Merged
charris merged 2 commits intonumpy:maintenance/1.24.xfrom May 14, 2023
Merged
BUG: fix the method for checking local files for 1.24.x#23739charris merged 2 commits intonumpy:maintenance/1.24.xfrom
charris merged 2 commits intonumpy:maintenance/1.24.xfrom
Conversation
seberg
approved these changes
May 9, 2023
Member
|
Oops, test failure. |
Author
|
Strange, I pushed the code to the branch but the PR didn't update.What should i do? |
Member
|
Just a github hickup, I am sure: https://www.githubstatus.com try again later. |
Member
|
Can you push an empty commit to retrigger github? |
Author
Done |
Member
|
CI passes except for s390x which did not even start (not the fault of this PR). |
Member
|
Thanks @LoveEatCandy . |
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.
Backport of #23728.
BufferedReader and BufferedWriter cannot be used to determine local files. For example, users can implement CustomFile to operate on OSS files, and then use BufferedReader(CustomFile) to achieve the buffered effect. But fileno method can do it.
@seberg This PR is for 1.24.x backport, thank you for support python3.8