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

Andy Lester report at bugs.python.org
Sat Feb 15 16:34:35 EST 2020


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

@vstinner would it be helpful if I went on a sweep looking for places we can use the new Py_IS_TYPE macro?

Getting away from Py_TYPE(op) would also mean a move to making the internals const-correct.

----------
nosy: +petdance

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


More information about the Python-bugs-list mailing list