[issue38205] Python no longer compiles without small integer singletons

STINNER Victor report at bugs.python.org
Thu Sep 19 04:54:51 EDT 2019


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

I like the idea of implementing Py_UNREACHABLE() as a function. Would it make sense to even declare it as a regular function rather than a static inline function? What is the benefit of inlining here? Inlining can make the code larger, rather than a function call at the machine code level is shorter.

----------

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


More information about the Python-bugs-list mailing list