[New-bugs-announce] [issue2824] zipfile to handle duplicate files in archive

anatoly techtonik report at bugs.python.org
Sun May 11 22:17:50 CEST 2008


New submission from anatoly techtonik <techtonik at gmail.com>:

ZipFile allows to add the same file to archive twice. I bet it is not
intended behavior for many users who would like to either replace file
inside of archive or get runtime warning about duplicate file to be
added. http://code.google.com/p/gvn/issues/detail?id=63


from zipfile import ZipFile

zt=ZipFile("ziptest.zip","w")
zt.write("ziptest.py")
zt.write("ziptest.py")
zt.close()

----------
components: Extension Modules
messages: 66661
nosy: techtonik
severity: normal
status: open
title: zipfile to handle duplicate files in archive
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2824>
__________________________________


More information about the New-bugs-announce mailing list