-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-34215: Update streams.py:readuntil IncompleteReadError issue #4354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
You should first create an issue on bugs.python.org |
Fixing test_readuntil_eof to comply with separator expected length
Well... 9 months later, I created an account, signed the CLA and created an issue(#34215) in bugs.python.org. Sorry about the delay... |
@mrbell321, in order to move forward with this pull request, please rebase to resolve the conflicts. Also, it looks like the CI's all failed initially, so the rebase should retrigger the tests. If they fail again, please correct the errors. Thanks! |
Let's imagine the case where Proposed |
Well I'm not sure the general text of IncompleteReadError matches this use case very well. I think of it this way: if the separator is Perhaps this bug should be resolved in different wording of the IncompleteReadError text instead? Something along the lines of |
The text is weird for |
Ok, so the docstring indicates that |
I thought about proposing |
c5b37e9
to
662edc0
Compare
Sorry about the noise. I'm having trouble running the tests locally. |
@mrbell321, are you still interested in pursuing the last comments you made about possible changes to this PR? Thanks! |
It’s unlikely that I’ll get back to this anytime soon.
…On Sat, Jan 25, 2020 at 6:56 AM Cheryl Sabella ***@***.***> wrote:
@mrbell321 <https://github.com/mrbell321>, are you still interested in
pursuing the last comments you made about possible changes to this PR?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4354?email_source=notifications&email_token=AAH52U6OSYICFHY62UOKLU3Q7QZI3A5CNFSM4EDCGLH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ436MY#issuecomment-578404147>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH52U6QST6CAADY3GXR7B3Q7QZI3ANCNFSM4EDCGLHQ>
.
|
I'm going to close this as inactive. It can be reopened if the original author is interested in working on it or a new PR can be opened to replace it. If the original author's work is used in a new PR, please credit them as a co-author. |
When IncompleteReadError is raised the message is
IncompleteReadError: 1 bytes read on a total of None expected bytes
But None is incorrect. The correct expected length is
seplen
https://bugs.python.org/issue34215