[issue14656] Add a macro for unreachable code

Benjamin Peterson report at bugs.python.org
Tue Apr 24 00:19:35 CEST 2012


Benjamin Peterson <benjamin at python.org> added the comment:

2012/4/23 Martin v. Löwis <report at bugs.python.org>:
>
> Martin v. Löwis <martin at v.loewis.de> added the comment:
>
> What's the specific warning that you want to eliminate?

"control reaches end of non-void function without return"

Basically, whenever you see "assert(0)" today.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14656>
_______________________________________


More information about the Python-bugs-list mailing list