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 gavin
Recipients gavin
Date 2020-04-13.10:33:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586774030.36.0.315208521295.issue40271@roundup.psfhosted.org>
In-reply-to
Content
Related library: zipfile

Since zipfile allows relative dotted paths too, should shell-like paths, specifically with ~ (tilde) be allowed too?

This feels like unexpected behaviour and confusing for users as method "is_zipfile" returns False in case path doesn't exist as well. So, zipfile.is_zipfile("~/incorrect/path/to/zip") as well as zipfile.is_zipfile("~/path/to/zip") will return False
History
Date User Action Args
2020-04-13 10:33:50gavinsetrecipients: + gavin
2020-04-13 10:33:50gavinsetmessageid: <1586774030.36.0.315208521295.issue40271@roundup.psfhosted.org>
2020-04-13 10:33:50gavinlinkissue40271 messages
2020-04-13 10:33:50gavincreate