cpython/Lib/zipfile
Miss Islington (bot) 2076384d21
[3.15] gh-156078: Prevent ZipFile.mkdir() during an active write (GH-156079) (#160477)
Fix `ZipFile.mkdir()` so that it raises `ValueError` when another writable
member handle returned by `ZipFile.open(..., mode="w")` is still open.
(cherry picked from commit dc78afeff8)

Co-authored-by: Pengyu Lee <lipengyu@kylinos.cn>
Co-authored-by: Stan Ulbrych <stan@python.org>
2026-10-23 20:42:46 +00:00
..
_path [3.15] gh-100609: Render an unnamed zipfile as ":zipfile:" in zipfile.Path (GH-160103) (#160118) 2026-10-21 22:23:45 +00:00
__init__.py [3.15] gh-156078: Prevent ZipFile.mkdir() during an active write (GH-156079) (#160477) 2026-10-23 20:42:46 +00:00
__main__.py