[New-bugs-announce] [issue14656] Add a macro for unreachable code

Benjamin Peterson report at bugs.python.org
Mon Apr 23 23:52:11 CEST 2012

New submission from Benjamin Peterson <benjamin at python.org>:

It would be nice to have a macro Py_UNREACHABLE to keep compiler warnings away in unreachable code. This is can call __builtin_unreachable on gcc and abort elsewhere.

components: Interpreter Core
keywords: easy
messages: 159088
nosy: benjamin.peterson
priority: normal
severity: normal
stage: needs patch
status: open
title: Add a macro for unreachable code
type: enhancement
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list