diff --git a/Lib/test/test_stable_abi_ctypes.py b/Lib/test/test_stable_abi_ctypes.py index cbec7e43a7c9fb..8c4e12c43dbaa8 100644 --- a/Lib/test/test_stable_abi_ctypes.py +++ b/Lib/test/test_stable_abi_ctypes.py @@ -928,6 +928,7 @@ def test_windows_feature_macros(self): "_PyArg_Parse_SizeT", "_PyArg_VaParseTupleAndKeywords_SizeT", "_PyArg_VaParse_SizeT", + "_PyByteArray_empty_string", "_PyErr_BadInternalCall", "_PyObject_CallFunction_SizeT", "_PyObject_CallMethod_SizeT", diff --git a/Misc/stable_abi.toml b/Misc/stable_abi.toml index 4a03cc76f5e1e9..2831e3f26978a2 100644 --- a/Misc/stable_abi.toml +++ b/Misc/stable_abi.toml @@ -1762,6 +1762,9 @@ [function._Py_VaBuildValue_SizeT] added = '3.2' abi_only = true +[data._PyByteArray_empty_string] + added = '3.2' + abi_only = true # Old buffer protocol support (deprecated) diff --git a/PC/python3dll.c b/PC/python3dll.c index 05c86e6d5924d4..192c531d11be04 100755 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -804,6 +804,7 @@ EXPORT_DATA(_Py_NotImplementedStruct) EXPORT_DATA(_Py_RefTotal) EXPORT_DATA(_Py_SwappedOp) EXPORT_DATA(_Py_TrueStruct) +EXPORT_DATA(_PyByteArray_empty_string) EXPORT_DATA(_PyWeakref_CallableProxyType) EXPORT_DATA(_PyWeakref_ProxyType) EXPORT_DATA(_PyWeakref_RefType)