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

> Also, there is too much faith in functions marked as "inline" always being 
> inlined.

I proposed to declare it as a "static inline" function, but I'm fine with a 
macro as well. I mostly care about the API: call "Py_Is()", not really about 
the exact implementation. In practice, for now, Py_Is(x, y) will continue to be 
compiled as "x == y".

----------

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

Reply via email to