Message277109
Shouldn't the ZipFile.filename attribute be converted to str?
If add support of pathlib, maybe add support of bytes?
The file name of ZipFile is only a part of the issue. There are other uses of file paths: paths for added files, path for extracted directory.
And there are internal paths in zip archive. Maybe it is worth to introduce new path-like type for them and provide pathlib-like interface to ZipFile. But this is separate not easy issue. |
|
Date |
User |
Action |
Args |
2016-09-21 08:11:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ethan.furman |
2016-09-21 08:11:43 | serhiy.storchaka | set | messageid: <1474445503.11.0.219964117103.issue28231@psf.upfronthosting.co.za> |
2016-09-21 08:11:43 | serhiy.storchaka | link | issue28231 messages |
2016-09-21 08:11:43 | serhiy.storchaka | create | |
|