diff options
| author | R. David Murray <rdmurray@bitdance.com> | 2010-12-21 22:02:31 (GMT) |
|---|---|---|
| committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-21 22:02:31 (GMT) |
| commit | e1367f3e638788112347ada786ce1c60f94d2dce (patch) | |
| tree | 42c6a237dfa5ed13a002aab2be6a5f1cf371e30f /Lib/test/test_httpservers.py | |
| parent | fc9ead69e5839c8627b1f6acc718de844929d42f (diff) | |
| download | cpython-e1367f3e638788112347ada786ce1c60f94d2dce.zip cpython-e1367f3e638788112347ada786ce1c60f94d2dce.tar.gz cpython-e1367f3e638788112347ada786ce1c60f94d2dce.tar.bz2 | |
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.
........
Diffstat (limited to 'Lib/test/test_httpservers.py')
0 files changed, 0 insertions, 0 deletions
