[issue32240] Add the const qualifier for PyObject* array arguments

STINNER Victor report at bugs.python.org
Thu Dec 7 06:31:29 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

I hate this "obscure" C syntax "PyObject * const *args".

Technically, is it possible to define it as a type with a better name to give more context where the type would be defined?

For example, "PyConstObjectArray"?

----------

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


More information about the Python-bugs-list mailing list