cpython/Lib/zipfile
Miss Islington (bot) 4bea462988
[3.14] gh-156078: Prevent ZipFile.mkdir() during an active write (GH-156079) (#160478)
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:43:53 +00:00
..
_path [3.14] gh-100609: Render an unnamed zipfile as ":zipfile:" in zipfile.Path (GH-160103) (#160124) 2026-10-21 23:10:39 +00:00
__init__.py [3.14] gh-156078: Prevent ZipFile.mkdir() during an active write (GH-156079) (#160478) 2026-10-23 20:43:53 +00:00
__main__.py