]> granicus.if.org Git - python/commit
#14399: zipfile now correctly handles comments added to empty zipfiles.
authorR David Murray <rdmurray@bitdance.com>
Thu, 12 Apr 2012 22:44:42 +0000 (18:44 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 12 Apr 2012 22:44:42 +0000 (18:44 -0400)
commit51804e9725dd7e727201ba0dffa42db5592c8023
tree04631039381f53467bbb40b61a61de9f477b6c01
parentd46d69c2796172926296bbc5584551355af4a63a
#14399: zipfile now correctly handles comments added to empty zipfiles.

Patch by Serhiy Storchaka.

This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/ACKS
Misc/NEWS