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

Skip to content < 8000 script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

Commit 2760a67

Browse files
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 1d023e3) Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 727bed6 commit 2760a67

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
@@ -1413,6 +1413,9 @@ Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for
14131413
Internationalized Domain Names (IDN)). It builds upon the ``punycode`` encoding
14141414
and :mod:`stringprep`.
14151415

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

0 commit comments

Comments
 (0)
0