summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-21 21:57:54 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-21 21:57:54 (GMT)
commit30f9c8c68459466813a438a3511b5c9a8ba0d9a5 (patch)
tree10a0e40e41992105f51eb98abd96181fa497cff2 /Misc/NEWS
parent6cfc5124f2a615922d32ac19a319ffab8edaad0f (diff)
downloadcpython-30f9c8c68459466813a438a3511b5c9a8ba0d9a5.zip
cpython-30f9c8c68459466813a438a3511b5c9a8ba0d9a5.tar.gz
cpython-30f9c8c68459466813a438a3511b5c9a8ba0d9a5.tar.bz2
Merged revisions 87430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87430 | r.david.murray | 2010-12-21 16:53:37 -0500 (Tue, 21 Dec 2010) | 9 lines #4871: check that zipfile password is bytes, and give useful error message. Previously passing a string in as the password would fail either with an assertion error or a TypeError with a confusing error message. Note that a string can't be accepted since zipfile has no way to guess what encoding should be used to turn it into bytes. Patch by Victor Stinner. ........
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6a216edc..bd43ee7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,9 @@ Core and Builtins
Library
-------
+- Issue #4871: The zipfile module now gives a more useful error message if
+ an attempt is made to use a string to specify the archive password.
+
- Issue #10750: The ``raw`` attribute of buffered IO objects is now read-only.
- Issue #6791: Limit header line length (to 65535 bytes) in http.client