STINNER Victor <vstin...@python.org> added the comment:

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

Would you mind to explain how it's an issue to modify PyObject* temporarily 
during a function call? It's common to increase the object reference count to 
ensure that it doesn't go even while we use it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39573>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to