[issue38205] Python no longer compiles without small integer singletons
Sergey Fedoseev
report at bugs.python.org
Wed Sep 18 02:54:17 EDT 2019
Sergey Fedoseev <fedoseev.sergey at gmail.com> added the comment:
Also quote from Py_UNREACHABLE() doc:
> Use this in places where you might be tempted to put an assert(0) or abort() call.
https://github.com/python/cpython/commit/6b519985d23bd0f0bd072b5d5d5f2c60a81a19f2 does exactly that, it replaces assert(0) with Py_UNREACHABLE().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38205>
_______________________________________
More information about the Python-bugs-list
mailing list