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 jeffknupp
Recipients Anthony.Kong, acassaigne, jeffknupp, r.david.murray
Date 2012-03-27.00:51:04
SpamBayes Score 7.453149e-12
Marked as misclassified No
Message-id <1332809465.75.0.0742510533809.issue14399@psf.upfronthosting.co.za>
In-reply-to
Content
I'm unable to reproduce on either 2.7 or 3.3. Running the following:

from zipfile import ZipFile

z=ZipFile('test.zip','a')
z.comment='Create a new comment'
z.close()

produces the output:

Archive:  test.zip
Create a new comment

with the comment changed to b'...' for 3.3. Note that in 3.3 if you set the comment to a string and try to close, an exception will be raised and the test.zip file will not have a comment. 

Odd that I don't see the bug on either branch. Can someone else confirm?
History
Date User Action Args
2012-03-27 00:51:06jeffknuppsetrecipients: + jeffknupp, r.david.murray, Anthony.Kong, acassaigne
2012-03-27 00:51:05jeffknuppsetmessageid: <1332809465.75.0.0742510533809.issue14399@psf.upfronthosting.co.za>
2012-03-27 00:51:05jeffknupplinkissue14399 messages
2012-03-27 00:51:04jeffknuppcreate