Martin v. Löwis <mar...@v.loewis.de> added the comment:

> Py_UNREACHABLE can be used in this case *to avoid a compiler warning*.

What is the specific warning that you want to avoid, and what specific compiler 
version produces it currently on what specific code? 

It's not "control reaches end of non-void function without return", is it? 
(since if the compiler correctly determines that the code is unreachable, it 
shouldn't complain that control reaches the end of the function, as it doesn't 
reach the end of the function).

----------

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

Reply via email to