This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients techtonik
Date 2008-05-11.20:17:48
SpamBayes Score 0.034081265
Marked as misclassified No
Message-id <1210537070.35.0.0613996133193.issue2824@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2008-05-11 20:17:50techtoniksetspambayes_score: 0.0340813 -> 0.034081265
recipients: + techtonik
2008-05-11 20:17:50techtoniksetspambayes_score: 0.0340813 -> 0.0340813
messageid: <1210537070.35.0.0613996133193.issue2824@psf.upfronthosting.co.za>
2008-05-11 20:17:49techtoniklinkissue2824 messages
2008-05-11 20:17:49techtonikcreate