summaryrefslogtreecommitdiffstats
path: root/Doc/reference/lexical_analysis.rst
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-21 21:53:37 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-21 21:53:37 (GMT)
commit8d855d83046dd8a55cd216e642470191e6eab55f (patch)
tree994b94cdb6b1bfda618c4754792ea0696da0fdbf /Doc/reference/lexical_analysis.rst
parent7f8f41808b82b5e4812bc2e2d484a6fc8f02295c (diff)
downloadcpython-8d855d83046dd8a55cd216e642470191e6eab55f.zip
cpython-8d855d83046dd8a55cd216e642470191e6eab55f.tar.gz
cpython-8d855d83046dd8a55cd216e642470191e6eab55f.tar.bz2
#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 'Doc/reference/lexical_analysis.rst')
0 files changed, 0 insertions, 0 deletions