[Python-checkins] cpython: Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the

victor.stinner python-checkins at python.org
Fri Nov 8 14:07:49 CET 2013


http://hg.python.org/cpython/rev/bf9c77bac36d
changeset:   87004:bf9c77bac36d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Nov 08 14:07:11 2013 +0100
summary:
  Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the
stable ABI

files:
  Include/dictobject.h |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Include/dictobject.h b/Include/dictobject.h
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -109,12 +109,13 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list