]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile (GH...
authorJuniorJPDJ <github.com@juniorjpdj.pl>
Sat, 6 Aug 2022 23:21:23 +0000 (01:21 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Aug 2022 23:21:23 +0000 (16:21 -0700)
commit330f1d58282517bdf1f19577ab9317fa9810bf95
treec3e6ed80f849028056fbf64a9bb5cad8ad0d974d
parent56af5a200d60e86a8ac450264729d693053275e3
gh-88339: enable fast seeking of uncompressed unencrypted zipfile.ZipExtFile (GH-27737)

Avoid reading all of the intermediate data in uncompressed items in a zip file when the user seeks forward.

Contributed by: @JuniorJPDJ
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2021-08-27-18-07-35.bpo-44173.oW92Ev.rst [new file with mode: 0644]