[issue34097] ZIP does not support timestamps before 1980

Petr Viktorin report at bugs.python.org
Fri Jul 13 09:05:01 EDT 2018


Petr Viktorin <encukou at gmail.com> added the comment:

Which third-party utilities support these? As I said, AFAIK `zip` on my system does not.

I assume the loss of data is the reason we have an error now -- if that wasn't a concern, zipfile could just silently bump the timestamp to 1980.

When the extensions are implemented, `strict_timestamps=False` should *additionally* use the extension, but default should still be to raise the error (to prevent metadata loss when decompressing with older/simpler tools).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34097>
_______________________________________


More information about the Python-bugs-list mailing list