DescriptionAdd a third_party/ copy of Python's zipfile module
This is a copy of the zipfile module from Python 2.7.13. This snapshot
was taken to workaround a bug in older Python versions such as 2.7.3.
See https://bugs.python.org/issue6972 and specifically the fix at
https://hg.python.org/cpython/rev/0c5fa35c9f12#l3.11 .
We encounter the issue due to UNC paths (specifically \\?\ which
Catapult uses to avoid long-path errors) which prevents
os.path.normpath from fixing up the paths inside the zip upon
extraction.
Reviewed at https://chromium-review.googlesource.com/c/509108/
TBR=nednguyen@google.com
BUG=catapult:#2865
Review-Url: https://codereview.chromium.org/2900493002
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/2d3f5e75de7cf907515b7ec21272128b08c458ec
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (12 generated)
|