[3.14] gh-76637: Note that undefined Codec is for testing (GH-136531) (#136536)

gh-76637: Note that `undefined` Codec is for testing (GH-136531)

Closes GH-76637
(cherry picked from commit 975b57d945)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-07-11 12:56:34 +02:00 committed by GitHub
parent ec15251af5
commit fdad31924c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1395,7 +1395,11 @@ encodings.
| | | It is used in the Python | | | | It is used in the Python |
| | | pickle protocol. | | | | pickle protocol. |
+--------------------+---------+---------------------------+ +--------------------+---------+---------------------------+
| undefined | | Raise an exception for | | undefined | | This Codec should only |
| | | be used for testing |
| | | purposes. |
| | | |
| | | Raise an exception for |
| | | all conversions, even | | | | all conversions, even |
| | | empty strings. The error | | | | empty strings. The error |
| | | handler is ignored. | | | | handler is ignored. |