[issue37812] Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)

Ma Lin report at bugs.python.org
Wed Sep 18 01:16:22 EDT 2019


Ma Lin <malincns at 163.com> added the comment:

> I agree that both changes should be reverted.

There is another commit after the two commits:
https://github.com/python/cpython/commit/c6734ee7c55add5fdc2c821729ed5f67e237a096

It is troublesome to revert them.

PR 16146 is on-going, maybe we can request the author to replace `Py_UNREACHABLE()` with `assert(0)`.

----------

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


More information about the Python-bugs-list mailing list