[issue5457] ZipFile writes incorrect modification time (second is off-by-one)

Christian Theune report at bugs.python.org
Mon Mar 9 10:38:32 CET 2009


New submission from Christian Theune <ct at gocept.com>:

See the attached unit test. On seconds that are > 0 and < 60 the written
second is reduced by 1.

(The test doesn't explicitly prove that this happens during writing, but
we checked this manually. The read function is fine.)

----------
components: Library (Lib)
files: zipbug.py
message_count: 1.0
messages: 83364
nosy: ctheune
nosy_count: 1.0
severity: normal
status: open
title: ZipFile writes incorrect modification time (second is off-by-one)
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0
Added file: http://bugs.python.org/file13281/zipbug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5457>
_______________________________________


More information about the Python-bugs-list mailing list