8000 bpo-17305: Link to the third-party idna package. (GH-25208) · python/cpython@c7ccb0f · GitHub
[go: up one dir, main page]

Skip to content

Commit c7ccb0f

Browse files
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. (cherry picked from commit 1d023e3) Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 028d528 commit c7ccb0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/codecs.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,9 @@ Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for
14141414
Internationalized Domain Names (IDN)). It builds upon the ``punycode`` encoding
14151415
and :mod:`stringprep`.
14161416

1417+
If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the
1418+
third-party `idna module <https://pypi.org/project/idna/>_`.
1419+
14171420
These RFCs together define a protocol to support non-ASCII characters in domain
14181421
names. A domain name containing non-ASCII characters (such as
14191422
``www.Alliancefrançaise.nu``) is converted into an ASCII-compatible encoding

0 commit comments

Comments
 (0)
0