From 7bc039ec188d148187be83e5486490e9b7cc8dd7 Mon Sep 17 00:00:00 2001 From: RUANG Date: Mon, 30 Sep 2024 09:18:18 +0800 Subject: [PATCH] Regen stable_abi --- Doc/data/stable_abi.dat | 1 + Lib/test/test_stable_abi_ctypes.py | 1 + Misc/stable_abi.toml | 2 ++ PC/python3dll.c | 1 + 4 files changed, 5 insertions(+) diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index 7eeee270bb7f32..4f34d45e91cc5b 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -518,6 +518,7 @@ func,PyObject_Calloc,3.7,, func,PyObject_CheckBuffer,3.11,, func,PyObject_ClearWeakRefs,3.2,, func,PyObject_CopyData,3.11,, +func,PyObject_CopyToObject,3.14,, func,PyObject_DelAttr,3.13,, func,PyObject_DelAttrString,3.13,, func,PyObject_DelItem,3.2,, diff --git a/Lib/test/test_stable_abi_ctypes.py b/Lib/test/test_stable_abi_ctypes.py index 4bca33b7451f80..93ec46ca7fe5d9 100644 --- a/Lib/test/test_stable_abi_ctypes.py +++ b/Lib/test/test_stable_abi_ctypes.py @@ -546,6 +546,7 @@ def test_windows_feature_macros(self): "PyObject_CheckReadBuffer", "PyObject_ClearWeakRefs", "PyObject_CopyData", + "PyObject_CopyToObject", "PyObject_DelAttr", "PyObject_DelAttrString", "PyObject_DelItem", diff --git a/Misc/stable_abi.toml b/Misc/stable_abi.toml index 8bf638c473c712..c991fc620fdc1f 100644 --- a/Misc/stable_abi.toml +++ b/Misc/stable_abi.toml @@ -2283,6 +2283,8 @@ added = '3.11' [function.PyObject_CopyData] added = '3.11' +[function.PyObject_CopyToObject] + added = '3.14' [function.PyBuffer_IsContiguous] added = '3.11' [function.PyBuffer_FillContiguousStrides] diff --git a/PC/python3dll.c b/PC/python3dll.c index 1845334b244d8c..503cf706b71bb7 100755 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -477,6 +477,7 @@ EXPORT_FUNC(PyObject_CheckBuffer) EXPORT_FUNC(PyObject_CheckReadBuffer) EXPORT_FUNC(PyObject_ClearWeakRefs) EXPORT_FUNC(PyObject_CopyData) +EXPORT_FUNC(PyObject_CopyToObject) EXPORT_FUNC(PyObject_DelAttr) EXPORT_FUNC(PyObject_DelAttrString) EXPORT_FUNC(PyObject_DelItem)