New submission from Serhiy Storchaka:

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.

nosy: +serhiy.storchaka

Python tracker <>
Python-bugs-list mailing list

Reply via email to