Fix and deprecated the unicode_internal codec

unicode_internal codec uses Py_UNICODE instead of the real internal
representation (PEP 393: Py_UCS1, Py_UCS2 or Py_UCS4) for backward
compatibility.
This commit is contained in:
Victor Stinner 2011-11-10 20:56:30 +01:00
parent 240c55f721
commit 9f4b1e9c50
4 changed files with 42 additions and 10 deletions

View file

@ -1173,6 +1173,8 @@ particular, the following variants typically exist:
| unicode_internal | | Return the internal |
| | | representation of the |
| | | operand |
| | | |
| | | .. deprecated:: 3.3 |
+--------------------+---------+---------------------------+
The following codecs provide bytes-to-bytes mappings.

View file

@ -250,6 +250,8 @@ versions.
(:issue:`12100`)
The ``unicode_internal`` codec has been deprecated.
crypt
-----