[issue39573] Make PyObject an opaque structure in the limited C API

Andy Lester report at bugs.python.org
Sat Feb 15 16:36:06 EST 2020


Andy Lester <andy at petdance.com> added the comment:

I'm hoping that a goal here is to make

static inline int _Py_IS_TYPE(PyObject *ob, PyTypeObject *type)

actually be

static inline int _Py_IS_TYPE(const PyObject *ob, const PyTypeObject *type)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39573>
_______________________________________


More information about the Python-bugs-list mailing list