Message366297
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 |
|
Date |
User |
Action |
Args |
2020-04-13 10:33:50 | gavin | set | recipients:
+ gavin |
2020-04-13 10:33:50 | gavin | set | messageid: <1586774030.36.0.315208521295.issue40271@roundup.psfhosted.org> |
2020-04-13 10:33:50 | gavin | link | issue40271 messages |
2020-04-13 10:33:50 | gavin | create | |
|