mirror of
https://github.com/python/cpython.git
synced 2026-06-28 03:41:13 +00:00
gh-144133: Add a warning to the encodings.punycode documentation (#151812)
This commit is contained in:
parent
d1dbdbf565
commit
7ec70e1df3
1 changed files with 8 additions and 0 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue