summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-26 19:45:45 (GMT)
committerGitHub <noreply@github.com>2021-04-26 19:45:45 (GMT)
commit2760a6711b0f510afbd09b19949bee786e098af9 (patch)
tree8744b2af8b6a7a67a646c306f770451ed31a4d95
parent727bed675f1a47d12492efba0ca118707502d988 (diff)
downloadcpython-2760a6711b0f510afbd09b19949bee786e098af9.zip
cpython-2760a6711b0f510afbd09b19949bee786e098af9.tar.gz
cpython-2760a6711b0f510afbd09b19949bee786e098af9.tar.bz2
bpo-17305: Link to the third-party idna package. (GH-25208) (#25211)
So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution. (cherry picked from commit 1d023e374cf96d143b065242131ddc9b889f9a1e) Co-authored-by: Gregory P. Smith <greg@krypto.org>
-rw-r--r--Doc/library/codecs.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 992672e..f09b0e1 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -1413,6 +1413,9 @@ Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for
Internationalized Domain Names (IDN)). It builds upon the ``punycode`` encoding
and :mod:`stringprep`.
+If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the
+third-party `idna module <https://pypi.org/project/idna/>_`.
+
These RFCs together define a protocol to support non-ASCII characters in domain
names. A domain name containing non-ASCII characters (such as
``www.Alliancefrançaise.nu``) is converted into an ASCII-compatible encoding