Repository navigation
Commit 2076384
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 dc78afe)
Co-authored-by: Pengyu Lee <lipengyu@kylinos.cn>
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 0db98cc commit 2076384
3 files changed
Lines changed: 16 additions & 0 deletions
File tree
- Lib
- test/test_zipfile
- zipfile
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2443 | 2443 | | |
2444 | 2444 | | |
2445 | 2445 | | |
| 2446 | + | |
| 2447 | + | |
2446 | 2448 | | |
2447 | 2449 | | |
2448 | 2450 | | |
| |||
3472 | 3474 | | |
3473 | 3475 | | |
3474 | 3476 | | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
3475 | 3480 | | |
3476 | 3481 | | |
3477 | 3482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2082 | 2082 | | |
2083 | 2083 | | |
2084 | 2084 | | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
2085 | 2094 | | |
2086 | 2095 | | |
2087 | 2096 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments