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 <rep...@bugs.python.org> <http://bugs.python.org/issue28231> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com