]> granicus.if.org Git - python/commit
Merge #14399: zipfile now correctly handles comments added to empty zipfiles.
authorR David Murray <rdmurray@bitdance.com>
Thu, 12 Apr 2012 22:44:58 +0000 (18:44 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 12 Apr 2012 22:44:58 +0000 (18:44 -0400)
commitf50b38a11fa951582b7f1656685201269f265784
tree210d95be24d076ada8e89b4a0df670bf07e47836
parent6125e232e26cd806eb5c03005ddf817f5bb73eaf
Merge #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/NEWS