summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2024-03-28 06:54:51 (GMT)
committerGitHub <noreply@github.com>2024-03-28 06:54:51 (GMT)
commitb44898299a2ed97045c270f6474785da2ff07ced (patch)
tree3cca65e4c9fbf1d34ed10d8656609d5370e23cdc /Misc
parent2cedd25c14d3acfdcb5e8ee55132ce3e334ab8fe (diff)
downloadcpython-b44898299a2ed97045c270f6474785da2ff07ced.zip
cpython-b44898299a2ed97045c270f6474785da2ff07ced.tar.gz
cpython-b44898299a2ed97045c270f6474785da2ff07ced.tar.bz2
gh-89739: gh-77140: Support zip64 in zipimport (GH-94146)
* Reads zip64 files as produced by the zipfile module * Include tests (somewhat slow, however, because of the need to create "large" zips) * About the same amount of strictness reading invalid zip files as zipfile has * Still works on files with prepended data (like pex) There are a lot more test cases at https://github.com/thatch/zipimport64/ that give me confidence that this works for real-world files. Fixes #89739 and #77140. --------- Co-authored-by: Itamar Ostricher <itamarost@gmail.com> Reviewed-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-06-22-14-45-32.gh-issue-89739.CqZcRL.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-06-22-14-45-32.gh-issue-89739.CqZcRL.rst b/Misc/NEWS.d/next/Library/2022-06-22-14-45-32.gh-issue-89739.CqZcRL.rst
new file mode 100644
index 0000000..0358c01
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-06-22-14-45-32.gh-issue-89739.CqZcRL.rst
@@ -0,0 +1 @@
+The :mod:`zipimport` module can now read ZIP64 files.