diff options
author | Gregory P. Smith <greg@krypto.org> | 2021-04-06 07:55:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 07:55:45 (GMT) |
commit | 1d023e374cf96d143b065242131ddc9b889f9a1e (patch) | |
tree | a4f33a3d8d7ce5a7f70eb2aebaee1c9392d7fe64 /Doc | |
parent | 376ffc6ac491da74920aed1b8e35bc371cb766ac (diff) | |
download | cpython-1d023e374cf96d143b065242131ddc9b889f9a1e.zip cpython-1d023e374cf96d143b065242131ddc9b889f9a1e.tar.gz cpython-1d023e374cf96d143b065242131ddc9b889f9a1e.tar.bz2 |
bpo-17305: Link to the third-party idna package. (GH-25208)
So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/codecs.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 3169ae5..b15d293 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -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 |