[issue14656] Add a macro for unreachable code

Benjamin Peterson report at bugs.python.org
Wed May 2 17:43:31 CEST 2012


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

It does not avoid any warning because we have the "assert(0); return X" pattern. I was just attempting to provide a standard way of marking unreachable code.

----------

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


More information about the Python-bugs-list mailing list