summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2020-02-25 03:19:03 (GMT)
committerGitHub <noreply@github.com>2020-02-25 03:19:03 (GMT)
commitba22e8f174309979d90047c5dc64fcb63bc2c32e (patch)
treefe5add86cf54ab65ba7fdc1cc48bc23685884835 /Misc
parent8af4712a16e4b7d1b60f1faec13cd7a88da95f6a (diff)
downloadcpython-ba22e8f174309979d90047c5dc64fcb63bc2c32e.zip
cpython-ba22e8f174309979d90047c5dc64fcb63bc2c32e.tar.gz
cpython-ba22e8f174309979d90047c5dc64fcb63bc2c32e.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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-02-24-03-45-28.bpo-30566.qROxty.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-24-03-45-28.bpo-30566.qROxty.rst b/Misc/NEWS.d/next/Library/2020-02-24-03-45-28.bpo-30566.qROxty.rst
new file mode 100644
index 0000000..c780633
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-24-03-45-28.bpo-30566.qROxty.rst
@@ -0,0 +1,2 @@
+Fix :exc:`IndexError` when trying to decode an invalid string with punycode
+codec.