Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
Commitc0fa220
committed
Convert os.altsep to '/' in filenames when creating ZipInfo objects
This causes the zipfile module to also consider the character defined by`os.altsep` (if there is one) to be a path separator and convert it to aforward slash, as defined by the zip specification.1 parent3d29eda commitc0fa220
File tree
2 files changed
+4
-0
lines changed- Lib/zipfile
- Misc/NEWS.d/next/Library
2 files changed
+4
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
| 355 | + | |
| 356 | + | |
355 | 357 |
| |
356 | 358 |
| |
357 | 359 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + |
0 commit comments
Comments
(0)