Skip to content

Commit 3e25640

Browse files
[3.13] gh-144133: Add a warning to the encodings.punycode documentation (GH-151812) (#151924)
(cherry picked from commit 7ec70e1) Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent a7f5e4e commit 3e25640

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Doc/library/codecs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,14 @@ encodings.
13851385
| punycode | | Implement :rfc:`3492`. |
13861386
| | | Stateful codecs are not |
13871387
| | | supported. |
1388+
| | | |
1389+
| | | .. warning:: |
1390+
| | | |
1391+
| | | The decoding and |
1392+
| | | encoding algorithms |
1393+
| | | scale poorly, so |
1394+
| | | limit the length of |
1395+
| | | untrusted input. |
13881396
+--------------------+---------+---------------------------+
13891397
| raw_unicode_escape | | Latin-1 encoding with |
13901398
| | | :samp:`\\u{XXXX}` and |

0 commit comments

Comments
 (0)