[issue43181] Python macros don’t shield arguments

STINNER Victor report at bugs.python.org
Mon Mar 15 08:01:40 EDT 2021


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

If possible, I would prefer to only replace macros with static inline functions if the changes avoids clear macro pitfalls. It's not because macros have pitfalls that we must replace them all blindly.

Also, this issue is closed. At this point, I'm not convinced that it's worth it to fix PyObject_TypeCheck() in Python 3.8 and 3.9, so I leave the issue closed.

----------

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


More information about the Python-bugs-list mailing list