summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-14 06:59:45 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-14 06:59:45 (GMT)
commit268e4d4cf36ad79e71438fd864160892b335388d (patch)
tree38a3a4341983fa5caeb6dbaf1489587d665bae79 /Misc
parent77658bd9ad81674235f15cf120b195250b5b7c4d (diff)
downloadcpython-268e4d4cf36ad79e71438fd864160892b335388d.zip
cpython-268e4d4cf36ad79e71438fd864160892b335388d.tar.gz
cpython-268e4d4cf36ad79e71438fd864160892b335388d.tar.bz2
#1710703: write zipfile structures also in the case of closing a new, but empty, archive.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 142c9fc..d7db587 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,10 @@ Core and Builtins
Library
-------
+- Issue #1710703: Write structures for an empty ZIP archive when a ZipFile is
+ created in modes 'a' or 'w' and then closed without adding any files. Raise
+ BadZipfile (rather than IOError) when opening small non-ZIP files.
+
- Issue #10041: The signature of optional arguments in socket.makefile()
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode. Patch by Kai Zhu.