summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-04-12 22:44:58 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-04-12 22:44:58 (GMT)
commitf50b38a11fa951582b7f1656685201269f265784 (patch)
tree210d95be24d076ada8e89b4a0df670bf07e47836 /Misc/NEWS
parent6125e232e26cd806eb5c03005ddf817f5bb73eaf (diff)
downloadcpython-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ea54484..c899f12 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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 ".