Craig McQueen added the comment:
One ongoing weakness I see with this situation is that it's difficult to code a
suitable work-around if a user wants to zip files that have a date < 1980 (e.g.
to zip it with a datestamp of 1-Jan-1980).
https://stackoverflow.com/q/45703747/60075
I am trying to
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 649ac338203f by Senthil Kumaran in branch '2.7':
Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
http://hg.python.org/cpython/rev/649ac338203f
New changeset 12f3e86e9041 by Senthil
Senthil Kumaran sent...@uthcode.com added the comment:
Fixed in all active branches. Thanks for the patch, Petri.
Mark, for this issue, raising ValueError from zipfile was seemingly a right
thing to do, the previous error from struct for a side effect of sending a
value lower than 1980.
Changes by Petri Lehtinen pe...@digip.org:
--
title: zipfile: Bad error message when zipping a with timestamp before 1980 -
zipfile: Bad error message when zipping a file with timestamp before 1980
___
Python tracker rep...@bugs.python.org