gh-144133: Add a warning to the encodings.punycode documentation (#151812)

This commit is contained in:
Stan Ulbrych 2026-06-22 12:54:26 +01:00 committed by GitHub
parent d1dbdbf565
commit 7ec70e1df3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1399,6 +1399,14 @@ encodings.
| punycode | | Implement :rfc:`3492`. |
| | | Stateful codecs are not |
| | | supported. |
| | | |
| | | .. warning:: |
| | | |
| | | The decoding and |
| | | encoding algorithms |
| | | scale poorly, so |
| | | limit the length of |
| | | untrusted input. |
+--------------------+---------+---------------------------+
| raw_unicode_escape | | Latin-1 encoding with |
| | | :samp:`\\u{XXXX}` and |