This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients brett.cannon, ethan.furman, serhiy.storchaka
Date 2016-09-21.08:11:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:43serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ethan.furman
2016-09-21 08:11:43serhiy.storchakasetmessageid: <>
2016-09-21 08:11:43serhiy.storchakalinkissue28231 messages
2016-09-21 08:11:43serhiy.storchakacreate