0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00
cpython/Lib/importlib
Tim Hatch b44898299a
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>
2024-03-28 06:54:51 +00:00
..
metadata GH-109653: Defer import of `importlib.metadata._adapters` (#109829) 2024-03-21 03:49:10 +00:00
resources GH-109653: Defer import of `importlib.metadata._adapters` (#109829) 2024-03-21 03:49:10 +00:00
__init__.py
_abc.py
_bootstrap_external.py gh-89739: gh-77140: Support zip64 in zipimport (GH-94146) 2024-03-28 06:54:51 +00:00
_bootstrap.py `importlib/_bootstrap.py: Reduce size of _List` instances (GH-114747) 2024-01-30 10:44:09 -08:00
abc.py gh-114099 - Add iOS framework loading machinery. (GH-116454) 2024-03-19 08:36:19 -04:00
machinery.py gh-114099 - Add iOS framework loading machinery. (GH-116454) 2024-03-19 08:36:19 -04:00
readers.py
simple.py
util.py chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00