Repository navigation
Commit 4bea462
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 75e8f80 commit 4bea462
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 | |
|---|---|---|---|
| |||
2447 | 2447 | | |
2448 | 2448 | | |
2449 | 2449 | | |
| 2450 | + | |
| 2451 | + | |
2450 | 2452 | | |
2451 | 2453 | | |
2452 | 2454 | | |
| |||
3476 | 3478 | | |
3477 | 3479 | | |
3478 | 3480 | | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
3479 | 3484 | | |
3480 | 3485 | | |
3481 | 3486 | | |
| |||
| 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