Petri Lehtinen <pe...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue6090>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to