-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
.read() doesn't advance offset #13
Comments
Hi @lopisan, thanks for opening an issue and including test cases. When you use the However, I agree that the behavior of |
v0.5.6 fixes this issue on Python 3.7 - 3.9. For 3.10, it's available as v0.6.5 on PyPI. Thanks again for the test cases, @lopisan. |
Thanks for a quick fix! It works like a charm now. |
Glad to hear it! |
Hi,
I've find a possible bug in AsyncPath lib:
f.read(count)
doesn't advacne offset, so two consecutive reads read just the beggining of the file.I've created tests showing the bug:
The text was updated successfully, but these errors were encountered: