]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-17305: Link to the third-party idna package. (GH-25208)
authorGregory P. Smith <greg@krypto.org>
Tue, 6 Apr 2021 07:55:45 +0000 (00:55 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Apr 2021 07:55:45 +0000 (00:55 -0700)
So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution.

Doc/library/codecs.rst

index 3169ae517b75095a4dfbf09572d8dbb285f8635e..b15d293e38f633b13c1bbdd246b3bf265a2e7eb2 100644 (file)
@@ -1417,6 +1417,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