Skip to content

gh-156078: Prevent ZipFile.mkdir() during an active write - #156079

Open
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:zipfile
Open

gh-156078: Prevent ZipFile.mkdir() during an active write#156079
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:zipfile

Conversation

@lpyu001

@lpyu001 lpyu001 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Fix ZipFile.mkdir() so that it raises ValueError when another writable member handle returned by ZipFile.open(..., mode="w") is still open.

This issue also affects Python 3.13, 3.14, and 3.15

Fix `ZipFile.mkdir()` so that it raises `ValueError` when another writable
member handle returned by `ZipFile.open(..., mode="w")` is still open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants