STINNER Victor <vstin...@python.org> added the comment:
An alternative would be to merge PyHeapTypeObject members into PyTypeObject. I don't get why there is a separated struture: PyTypeObject is excluded from the stable ABI. See my remark about that: https://bugs.python.org/issue22079#msg391464 Having a separated structure just static types make the code more complex and more error prone. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46433> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com