summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-07 17:40:12 -0700
committerVictor Stinner <victor.stinner@gmail.com>2016-09-07 17:40:12 -0700
commit7a1aba85e771486e07e4d1d72bbd8d17ce53e0f1 (patch)
tree25d198d77f4c79870db6b6a0acdff1c469aeb858 /Include
parent267737a99496a3f4557863bec04fd6ebedf14db8 (diff)
downloadcpython-7a1aba85e771486e07e4d1d72bbd8d17ce53e0f1.tar.gz
Implement compact dict
Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 9ad6bdfb33..9e1ffd3fcf 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -710,7 +710,6 @@ you can count such references to the type object.)
PyAPI_DATA(Py_ssize_t) _Py_RefTotal;
PyAPI_FUNC(void) _Py_NegativeRefcount(const char *fname,
int lineno, PyObject *op);
-PyAPI_FUNC(PyObject *) _PyDict_Dummy(void);
PyAPI_FUNC(Py_ssize_t) _Py_GetRefTotal(void);
#define _Py_INC_REFTOTAL _Py_RefTotal++
#define _Py_DEC_REFTOTAL _Py_RefTotal--