STINNER Victor <vstinner at python.org> added the comment: > This has been resolved using Py_TYPE() and Py_SET_TYPE(). Great! ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue34704> _______________________________________