File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1272,6 +1272,30 @@ Porting to Python 3.14
1272
1272
implementation details.
1273
1273
(Contributed by Victor Stinner in :gh:`120600` and :gh:`124127`.)
1274
1274
1275
+ * Private functions promoted to public C APIs:
1276
+
1277
+ * ``_PyBytes_Join()``: :c:func:`PyBytes_Join`;
1278
+ * ``_PyLong_IsNegative()``: :c:func:`PyLong_IsNegative`;
1279
+ * ``_PyLong_IsPositive()``: :c:func:`PyLong_IsPositive`;
1280
+ * ``_PyLong_IsZero()``: :c:func:`PyLong_IsZero`;
1281
+ * ``_PyLong_Sign()``: :c:func:`PyLong_GetSign`;
1282
+ * ``_PyUnicodeWriter_Dealloc()``: :c:func:`PyUnicodeWriter_Discard`;
1283
+ * ``_PyUnicodeWriter_Finish()``: :c:func:`PyUnicodeWriter_Finish`;
1284
+ * ``_PyUnicodeWriter_Init()``: :c:func:`PyUnicodeWriter_Create`;
1285
+ * ``_PyUnicodeWriter_WriteChar()``: :c:func:`PyUnicodeWriter_WriteChar`;
1286
+ * ``_PyUnicodeWriter_WriteStr()``: :c:func:`PyUnicodeWriter_WriteStr`;
1287
+ * ``_PyUnicodeWriter_WriteSubstring()``: :c:func:`PyUnicodeWriter_WriteSubstring`;
1288
+ * ``_PyUnicode_EQ()``: :c:func:`PyUnicode_Equal`;
1289
+ * ``_PyUnicode_Equal()``: :c:func:`PyUnicode_Equal`;
1290
+ * ``_Py_GetConfig()``: :c:func:`PyConfig_Get` and :c:func:`PyConfig_GetInt`;
1291
+ * ``_Py_HashBytes()``: :c:func:`Py_HashBuffer`;
1292
+ * ``_Py_fopen_obj()``: :c:func:`Py_fopen`.
1293
+
1294
+ The `pythoncapi-compat project`_ can be used to get most of these new
1295
+ functions on Python 3.13 and older.
1296
+
1297
+ .. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
1298
+
1275
1299
1276
1300
Deprecated
1277
1301
----------
You can’t perform that action at this time.
0 commit comments