Repository navigation
Commit dc78afe
Fix `ZipFile.mkdir()` so that it raises `ValueError` when another writable
member handle returned by `ZipFile.open(..., mode="w")` is still open.
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 0ba58e7 commit dc78afe
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 | |
|---|---|---|---|
| |||
4615 | 4615 | | |
4616 | 4616 | | |
4617 | 4617 | | |
| 4618 | + | |
| 4619 | + | |
4618 | 4620 | | |
4619 | 4621 | | |
4620 | 4622 | | |
| |||
5646 | 5648 | | |
5647 | 5649 | | |
5648 | 5650 | | |
| 5651 | + | |
| 5652 | + | |
| 5653 | + | |
5649 | 5654 | | |
5650 | 5655 | | |
5651 | 5656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2630 | 2630 | | |
2631 | 2631 | | |
2632 | 2632 | | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
2633 | 2642 | | |
2634 | 2643 | | |
2635 | 2644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments