[issue26824] Make some macros use Py_TYPE
Serhiy Storchaka
report at bugs.python.org
Fri Apr 22 02:34:40 EDT 2016
Serhiy Storchaka added the comment:
Ah, sorry. This makes sense.
But there is one catch. If allow a macro to be used with an argument not of type PyObject*, this will make harder to change the implementation and convert the macro to a function.
And this may increase the probability to make an error with calling macros with wrong argument.
I have no strong opinion about this patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26824>
_______________________________________
More information about the Python-bugs-list
mailing list