From: Victor Stinner Date: Fri, 8 Nov 2013 13:07:11 +0000 (+0100) Subject: Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the X-Git-Tag: v3.4.0b1~335^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ea86509ab81d43a07256d63f1f3709b4282ce7f;p=thirdparty%2FPython%2Fcpython.git Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the stable ABI --- diff --git a/Include/dictobject.h b/Include/dictobject.h index 9e5c90c478d4..285966963c3e 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -109,12 +109,13 @@ PyAPI_FUNC(PyObject *) _PyDict_GetItemId(PyObject *dp, struct _Py_Identifier *ke PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item); PyAPI_FUNC(int) PyDict_DelItemString(PyObject *dp, const char *key); -PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, struct _Py_Identifier *key); #ifndef Py_LIMITED_API +PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, struct _Py_Identifier *key); +PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out); + int _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, PyObject *name, PyObject *value); PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *); -PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out); #endif #ifdef __cplusplus