diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-04-12 22:44:58 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-04-12 22:44:58 (GMT) |
commit | f50b38a11fa951582b7f1656685201269f265784 (patch) | |
tree | 210d95be24d076ada8e89b4a0df670bf07e47836 /Misc/NEWS | |
parent | 6125e232e26cd806eb5c03005ddf817f5bb73eaf (diff) | |
download | cpython-f50b38a11fa951582b7f1656685201269f265784.zip cpython-f50b38a11fa951582b7f1656685201269f265784.tar.gz cpython-f50b38a11fa951582b7f1656685201269f265784.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,11 @@ Core and Builtins Library ------- +- Issue #14399: zipfile now correctly adds a comment even when the zipfile + being created is otherwise empty. In addition, the TypeError that results + from trying to set a non-binary value as a comment is now now raised at the + time the comment is set rather than at the time the zipfile is written. + - trace.CoverageResults.is_ignored_filename() now ignores any name that starts with "<" and ends with ">" instead of special-casing "<string>" and "<doctest ". |