File tree 1 file changed +25
-0
lines changed 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -2136,5 +2136,30 @@ Removed
2136
2136
API).
2137
2137
(Contributed by Victor Stinner in :issue: `45412 `.)
2138
2138
2139
+ * Remove the :c:type: `Py_UNICODE ` encoder APIs,
2140
+ as they have been deprecated since Python 3.3,
2141
+ are little used
2142
+ and are inefficient relative to the recommended alternatives.
2143
+
2144
+ The removed functions are:
2145
+
2146
+ * :func: `!PyUnicode_Encode `
2147
+ * :func: `!PyUnicode_EncodeASCII `
2148
+ * :func: `!PyUnicode_EncodeLatin1 `
2149
+ * :func: `!PyUnicode_EncodeUTF7 `
2150
+ * :func: `!PyUnicode_EncodeUTF8 `
2151
+ * :func: `!PyUnicode_EncodeUTF16 `
2152
+ * :func: `!PyUnicode_EncodeUTF32 `
2153
+ * :func: `!PyUnicode_EncodeUnicodeEscape `
2154
+ * :func: `!PyUnicode_EncodeRawUnicodeEscape `
2155
+ * :func: `!PyUnicode_EncodeCharmap `
2156
+ * :func: `!PyUnicode_TranslateCharmap `
2157
+ * :func: `!PyUnicode_EncodeDecimal `
2158
+ * :func: `!PyUnicode_TransformDecimalToASCII `
2159
+
2160
+ See :pep: `624 ` for details and
2161
+ :pep: `migration guidance <624#alternative-apis >`.
2162
+ (Contributed by Inada Naoki in :issue: `44029 `.)
2163
+
2139
2164
2140
2165
.. _libb2 : https://www.blake2.net/
You can’t perform that action at this time.
0 commit comments