[Python-checkins] r87432 - python/branches/release27-maint
r.david.murray
python-checkins at python.org
Tue Dec 21 23:02:32 CET 2010
Author: r.david.murray
Date: Tue Dec 21 23:02:31 2010
New Revision: 87432
Log:
Blocked revisions 87430 via svnmerge
........
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.
........
Modified:
python/branches/release27-maint/ (props changed)
More information about the Python-checkins
mailing list