[issue43181] Python macros don’t shield arguments

STINNER Victor report at bugs.python.org
Mon Feb 15 11:21:14 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

Thanks Vitaliy for the bug report and Erlend for the fix ;-)

For Python 3.9 and older, a workaround is to wrap the call to PyObject_TypeCheck() with your own static inline function.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list