-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Regression in zipfile, read1(-1) after seek() returns empty byte string #102956
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
Comments
@serhiy-storchaka, @Yhg1s, @gpshead (as zipfile experts) |
Jokimax
added a commit
to Jokimax/cpython
that referenced
this issue
Apr 15, 2023
Jokimax
added a commit
to Jokimax/cpython
that referenced
this issue
Apr 15, 2023
Ping. This is still breaking |
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
Oct 24, 2023
Bug: python/cpython#102956 Pull-Request: python/cpython#103565 Signed-off-by: Michał Górny <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 24, 2023
…pfile … (pythonGH-103565) (cherry picked from commit c73b0f3) Co-authored-by: Jokimax <[email protected]> pythongh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.
gpshead
pushed a commit
that referenced
this issue
Oct 25, 2023
…ipfile … (GH-103565) (#111289) gh-102956: Fix returning of empty byte strings after seek in zipfile … (GH-103565) (cherry picked from commit c73b0f3) gh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement. Co-authored-by: Jokimax <[email protected]>
Thanks! 3.12.1 should include the fix. |
listout
pushed a commit
to listout/gentoo
that referenced
this issue
Oct 28, 2023
Bug: python/cpython#102956 Pull-Request: python/cpython#103565 Signed-off-by: Michał Górny <[email protected]>
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
…pfile … (python#103565) pythongh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
…pfile … (python#103565) pythongh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
When debugging a test failure in https://pypi.org/project/fs/ I found a regression in
zipfile
, read1(-1) after seek() returns empty byte string instead of substring. I've bisected it into this commit 330f1d5.Reproducer:
Expected output (3.11.2):
Actual output (3.12.0a6):
Your environment
Linked PRs
The text was updated successfully, but these errors were encountered: