diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-02-25 03:42:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 03:42:39 (GMT) |
commit | daef21ce7dfd3735101d85d6ebf7554187c33ab8 (patch) | |
tree | 5d82af9309af1da8df7a385e2e2b1692e5f0cf0f /Python/errors.c | |
parent | 1f4cf0c22b00fefb17611546755b65d3cb488330 (diff) | |
download | cpython-daef21ce7dfd3735101d85d6ebf7554187c33ab8.zip cpython-daef21ce7dfd3735101d85d6ebf7554187c33ab8.tar.gz cpython-daef21ce7dfd3735101d85d6ebf7554187c33ab8.tar.bz2 |
bpo-30566: Fix IndexError when using punycode codec (GH-18632)
Trying to decode an invalid string with the punycode codec
shoud raise UnicodeError.
(cherry picked from commit ba22e8f174309979d90047c5dc64fcb63bc2c32e)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions