[Python-checkins] bpo-17305: Link to the third-party idna package. (GH-25208)

miss-islington webhook-mailer at python.org
Tue Apr 6 03:56:11 EDT 2021


https://github.com/python/cpython/commit/1d023e374cf96d143b065242131ddc9b889f9a1e
commit: 1d023e374cf96d143b065242131ddc9b889f9a1e
branch: master
author: Gregory P. Smith <greg at krypto.org>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-04-06T00:55:45-07:00
summary:

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.

files:
M Doc/library/codecs.rst

diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 3169ae517b750..b15d293e38f63 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



More information about the Python-checkins mailing list