[issue28959] Add a macro for dict size

Raymond Hettinger report at bugs.python.org
Tue Dec 13 11:56:40 EST 2016


Raymond Hettinger added the comment:

It looks like the struct of a dict is already arranged in a way that it could switch to PyObject_VAR_HEAD which would let you use Py_SIZE everywhere.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28959>
_______________________________________


More information about the Python-bugs-list mailing list