mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
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:
parent
240c55f721
commit
9f4b1e9c50
4 changed files with 42 additions and 10 deletions
|
@ -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.
|
||||
|
|
|
@ -250,6 +250,8 @@ versions.
|
|||
|
||||
(:issue:`12100`)
|
||||
|
||||
The ``unicode_internal`` codec has been deprecated.
|
||||
|
||||
crypt
|
||||
-----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue