[issue6090] zipfile: Bad error message when zipping a with timestamp before 1980
Petri Lehtinen
report at bugs.python.org
Wed Jul 6 22:29:46 CEST 2011
Petri Lehtinen <petri at digip.org> added the comment:
Retitled to reflect that the error message should be enhanced.
Attached a patch for 2.7 that raises ValueError for timestamps before 1980, documents that 1980 or later is required, and adds some tests.
----------
keywords: +needs review, patch
nosy: +petri.lehtinen
stage: test needed -> patch review
title: zipfile DeprecationWarning Python in 2.6, failure in 2.7 -> zipfile: Bad error message when zipping a with timestamp before 1980
versions: -Python 2.6
Added file: http://bugs.python.org/file22595/zipfile_timestamps_before_1980.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6090>
_______________________________________
More information about the Python-bugs-list
mailing list