]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-102956: Fix returning of empty byte strings after seek in zipfile … (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Oct 2023 00:32:08 +0000 (02:32 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 00:32:08 +0000 (17:32 -0700)
commit6f130f231b8524f1b5c8d9c4cf155e93ef01062f
tree81edf7c40cad47b3df65368f273f01a6c24b2ebe
parenta4eb2e308d8c044aa87e560b1ddccbc804e003f1
[3.12] gh-102956: Fix returning of empty byte strings after seek in zipfile … (GH-103565) (#111289)

gh-102956: Fix returning of empty byte strings after seek in zipfile … (GH-103565)
(cherry picked from commit c73b0f35602abf5f283bf64266641f19bc82fce0)

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 <77680901+Jokimax@users.noreply.github.com>
Lib/test/test_zipfile/test_core.py
Lib/zipfile/__init__.py
Misc/NEWS.d/next/Library/2023-04-15-14-45-21.gh-issue-102956.Z6qeUy.rst [new file with mode: 0644]