[issue31338] Use abort() for code we never expect to hit
Antoine Pitrou
report at bugs.python.org
Tue Sep 5 13:16:11 EDT 2017
Antoine Pitrou added the comment:
Le 05/09/2017 à 19:10, STINNER Victor a écrit :
>
> Maybe the default implementation of the macro should be:
>
> #define Py_UNREACHABLE(stmt) abort(); stmt
Or simply you would write:
Py_UNREACHABLE();
return NULL;
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31338>
_______________________________________
More information about the Python-bugs-list
mailing list