|
|
|
|
|
by burnt-resistor
308 days ago
|
|
Related to multiple .zip formats: I've found macOS Archive Utility sometimes refuses to extract early pkzip .zips created on MS-DOS, but yet Info-ZIP handles them just fine. And, the macOS Archive Utility will complain that a proper .tar.bz2 is "corrupt" created using bzip2. In general, be liberal in input and be conservative in output. Sometimes, this means using less features or certain older formats so that all/most things work without issues. |
|
That is a dangerous maxim in a world with malicious players. In fact this PyPI problem is precisely because zip files are being too readily accepted, even if they have ambiguous meaning. Their fix is (very sensibly) to be less liberal with their input.