| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#126643)
gh-126565: Skip `zipfile.Path.exists` check in write mode (GH-126576)
When `zipfile.Path.open` is called, the implementation will check
whether the path already exists in the ZIP file. However, this check is
only required when the ZIP file is in read mode. By swapping arguments
of the `and` operator, the short-circuiting will prevent the check from
being run in write mode.
This change will improve the performance of `open()`, because checking
whether a file exists is slow in write mode, especially when the archive
has many members.
(cherry picked from commit 160758a574d12bf0d965d8206136e7da4f4fd6c3)
Co-authored-by: Jan Hicken <janhicken@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-123354) (#123411)
gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354)
Applies changes from zipp 3.20.1 and jaraco/zippGH-124
(cherry picked from commit 2231286d78d328c2f575e0b05b16fe447d1656d6)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
| |
|
| |
(cherry picked from commit 6aa35f3002dda25858d47e702e750e2871e42a7c)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
gh-106752: Sync with zipp 3.16.2 (GH-106757)
* gh-106752: Sync with zipp 3.16.2
* Add blurb
(cherry picked from commit 22980dc7c9dcec4b74fea815542601ef582c230e)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
|
|
* gh-106752: Move zipfile._path into its own package so it may have supplementary behavior.
* Add blurb.
(cherry picked from commit 03185f0c150ebc52d41dd5ea6f369c7b5ba9fc16)
|