[New-bugs-announce] [issue14399] zipfile and creat/update comment
Cassaigne
report at bugs.python.org
Sat Mar 24 17:27:11 CET 2012
New submission from Cassaigne <anthony.cassaigne at gmail.com>:
I want to update or create a comment to zip file.
For instance, I have test.zip file.
I'm using these statement to create a comment :
from zipfile import ZipFile
z=ZipFile('test.zip','a')
z.comment='Create a new comment'
z.close()
After to ran this script, the zip file test.zip doesn't including the new comment !
I can have the expected behavior when I add a new file inner zip archive.
----------
components: Library (Lib)
files: bug_zipfile_comment.py
messages: 156699
nosy: acassaigne
priority: normal
severity: normal
status: open
title: zipfile and creat/update comment
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file25011/bug_zipfile_comment.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14399>
_______________________________________
More information about the New-bugs-announce
mailing list