Serhiy Storchaka added the comment: list doesn't end with array too, but uses PyObject_VAR_HEAD. tp_itemsize is 0, therefore no additional space at the end is allocated.
Maybe this is overuse of PyObject_VAR_HEAD. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28959> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com