Message156885
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? |
|
Date |
User |
Action |
Args |
2012-03-27 00:51:06 | jeffknupp | set | recipients:
+ jeffknupp, r.david.murray, Anthony.Kong, acassaigne |
2012-03-27 00:51:05 | jeffknupp | set | messageid: <1332809465.75.0.0742510533809.issue14399@psf.upfronthosting.co.za> |
2012-03-27 00:51:05 | jeffknupp | link | issue14399 messages |
2012-03-27 00:51:04 | jeffknupp | create | |
|